0
C++ program to calculate bus fares and allow input for the distance and return their corresponding fares
Opanyin Arthur Transport Company (GH) Ltd. uses a sliding scale to calculate fares for passengers who travel with them on their long distance buses. The scale is as follows A fixed amount of GHc 1000 is paid by all passengers. The first 60 kilometers is free The next 80 kilometers attract GHc 200 each The next 110 kilometers attract GHc175 each Any excess kilometers over 250 kilometers attract GHc100
1 Respuesta
0
If you don't know where to start, I would suggest to make this program as a proof of concept in a language that your more familiar with as you have already defined the problem above. No on here is going to make this program for you.