Question: A gas station requests a simple program to calculate the price of fuel for their customers. The program must consist of the following features: -The

 A gas station requests a simple program to calculate the price

A gas station requests a simple program to calculate the price of fuel for their customers. The program must consist of the following features: -The program will request customer to enter the amount of fuel in litre. -The program will request the type of fuel from customer. There are three types of fuel provided by gas station mainly RON95 (1 litre = RM1.95), RON97 (1 litre = RM2.35) and DIESEL (1 litre = RM1.80). The program must display appropriate message if the customer enter other than these three types of fuel. - The program will calculate the total price of fuel requested by customer and display the price. - The program will allow the user to recalculate the price of fuel for their customers. -your programe should have void function named program_description -Using C write a full C program (using c)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!