Develop a console application using Python programming language (and obviously Linux UBUNTU machine provided) with the following
Fantastic news! We've Found the answer you've been seeking!
Question:
Develop a console application using Python programming language (and obviously Linux UBUNTU machine provided) with the following specifications:
- This application is mainly to determine the fuel efficiency of your car.
- The application will ask the user’s name. It will greet the user by the name entered and provide an appropriate welcome message.
- It will then ask for the make, model, and year of the car.
- It will then ask for number of kms driven for a given trip.
- It will then ask for litres of gas used for the trip.
- It will then ask cost of gas per litres.
- It will then display the fuel efficiency (kms/litre) of the car referring to the make, model, and year of the car, total gas cost for the trip, and cost per km for the said trip.
- It will then ask if the user wants to enter data for another trip or not. If answered yes, it will repeat the interaction; if answered no, the application will terminate with a proper good bye message.
Related Book For
Numerical Methods for Engineers
ISBN: 9780071244299
5th Edition
Authors: Steven C. Chapra, Raymond P. Canale
Posted Date: