Computer Science, asked by osamatalal66, 5 months ago

Three types of fuel are sold at a gas station. Some customers who buy fuel can also have a free car wash as a promotion. Write the program that calculates the money earned by the gas station at the end of the day, the average amount of money per vehicle and the number of washed vehicles in C Language.
Note: The owner of the Gas Station enters the liter prices of Diesel, Gasoline and LPG fuels into the system.
Fuel Prices will be kept in a matrix array.
After filling, customers tell the case, name, surname, how many liters of fuel they have taken, and the type of fuel.
a-How much money the customers have to pay,
b-Average money earned per vehicle at the end of the day,
c-Total money earned,
d-The number of free washed vehicles,
It should give 4 separate functions that return values. Customers will be able to pay until the person at the cash register says to end the day.

Answers

Answered by pt213665
0

Answer:

bro I don't know

Please mark my answer as a brainiest answer

Answered by adibaanjum777
1

A filling station is a facility that sells fuel and engine lubricants for motor vehicles. The most common fuels sold in the 2010s were gasoline (gasoline or gas in the United States and Canada, generally petrol elsewhere) and diesel fuel. A filling station that sells only electric energy is also known as a charging station, while a typical filling station can also be known as a fueling or gas station (United States, Canada and New Zealand), gasbar (Canada), gasoline stand or SS[Note 1] (Japan), petrol pump or petrol bunk (India, Pakistan and Bangladesh), garage, petrol station (Australia, Hong Kong, New Zealand, Singapore, South Africa, United Kingdom and Ireland), service station (Australia, New Zealand, United Kingdom, Ireland and Japan), servo (Australia), or fuel station (Israel).

Similar questions