Skip to content

saeidnahali/CNA340

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project Title

Program: Automobile service invoice

Getting Started

1)Output a menu of automotive services and the corresponding cost of each service:

Davy's auto shop services
Oil change -- $35
Tire rotation -- $19
Car wash -- $7
Car wax -- $12

2)Prompt the user for two services from the menu:

Select first service:
Oil change
Select second service:
Car wax

3)Output an invoice for the services selected. Output the cost for each service and the total cost: Davy's auto shop invoice

Service 1: Oil change, $35
Service 2: Car wax, $12

Total: $47

4)Extend the program to allow the user to enter a dash (-), which indicates no service:

Davy's auto shop services
Oil change -- $35
Tire rotation -- $19
Car wash -- $7
Car wax -- $12


Select first service:
Tire rotation
Select second service:
-
Davy's auto shop invoice

Service 1: Tire rotation, $19
Service 2: No service

Total: $19

Prerequisites

Pycharm V2020.1

Running

Once installed you can run the program with the following command:
CNA340_Python.py

Add any additional ways to run the program below

CNA340_Python.py CNA340_Python.txt

Thanks

I thank everyone who helped me complete this project.

About

I practice for my CNA340

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages