- Assume that there is a driver of a taxi and he asked you to develop a program for him as the followings:!
• He will enter the information for each trip during his day.!
NOTE: trip's data will be:!
- The income of the trip.!
- The distance of the trip.!
NOTE: the driver will stop the program when he gets a total income in his day that is greater!
than > 300 L.E.!
• Display how many trips he made in his day.!
• Display the total distance he made during his day.!
• Determine which trip was the shortest trip.
Comments
Leave a comment