# Project 002

Below is the assignment:

Programming Project 02

Project Description / Specification

Your program must meet the following specifications: 1. At program start, assume a stock of 10 nickels, 10 dimes, 10 quarters, and 10 pennies. 2. Repeatedly prompt the user for a price in the form [url removed, login to view], where x denotes a digit, or to enter ‘q’ to quit. 3. When a price is entered: a. If the price entered is negative, print an error message and start over requesting either a new price or to quit (indicated by entering a ‘q’). b. Prompt for the number of dollars in payment. If the payment is insufficient, print an error message and reprompt for payment. c. Next determine the coins to be dispensed as change. This calculation will depend on the amount to be dispensed and also on the number of coins left in the stock. For example, the least number of coins needed to make change of \$1.30 is 6: 5 quarters and 1 nickel. But if there are only 3 quarters, 3 dimes, and 10 nickels left in the stock, then the least number is 11: 3 quarters, 3 dimes, and 5 nickels. d. Print the numbers of the coins to be dispensed as change and their denominations. (Omit a denomination if no coins of that denomination will be dispensed.) e. In case exact payment is made, print a message such as “No change.”

f. If the change cannot be made up with the coins remaining, print an error message and halt the program

Sample Interaction:

Test 1

Welcome to change-making program.

Stock: 10 quarters, 10 dimes, 10 nickels, and 10 pennies

Enter the purchase price ([url removed, login to view]) or 'q' to quit: 1.5

Input dollars paid (int): 2

Collect change below: Quarters: 2

Stock: 8 quarters, 10 dimes, 10 nickels, and 10 pennies

Enter the purchase price ([url removed, login to view]) or 'q' to quit: q

Test 2

Welcome to change-making program.

Stock: 10 quarters, 10 dimes, 10 nickels, and 10 pennies

Enter the purchase price ([url removed, login to view]) or 'q' to quit: 2

Input dollars paid (int): 2 No change.

Stock: 10 quarters, 10 dimes, 10 nickels, and 10 pennies

Enter the purchase price ([url removed, login to view]) or 'q' to quit: q

Just knowing how to use while loops, if/else statements, print, integers, etc. is all that is needed for this assignment.

Beceriler: Python

İşveren Hakkında:
( 0 değerlendirme ) United States

Proje NO: #15159404

## 14 freelancer bu iş için ortalamada 24\$ teklif veriyor

imRaziel

i can do it Relevant Skills and Experience i know python Proposed Milestones \$20 USD - program

1 gün içinde 20\$ USD
(11 Değerlendirme)
5.1
it2051229

Hi I checked your project 02 python project. I can definitely do this one if given the opportunity. Let me know if you are interested. Thanks. Relevant Skills and Experience Python Proposed Milestones \$30 USD - Compl Daha fazlası

1 gün içinde 30\$ USD
(30 Değerlendirme)
4.5
RushService

Feel fee to contact me [url removed, login to view] me message to discuss further more details .We provide the comments,images,videos,demos and live sessions in order to help the [url removed, login to view] payment only after the work [url removed, login to view] yo Daha fazlası

1 gün içinde 25\$ USD
(2 Değerlendirme)
2.9
xinxi614

hi i am python expert and have rich experienc in such tasks. i can do your task. Relevant Skills and Experience python Proposed Milestones \$30 USD - finih

1 gün içinde 30\$ USD
(3 Değerlendirme)
2.6
1 gün içinde 25\$ USD
(3 Değerlendirme)
1.7
nenon

i am very interested in your work. i can do it very quickly. tanks. Relevant Skills and Experience let's talk via chat Proposed Milestones \$25 USD - complete the job

1 gün içinde 25\$ USD
(0 Değerlendirme)
0.0
1 gün içinde 31\$ USD
(0 Değerlendirme)
0.0
kinyanjuik

I can assist you do this project on control structures in python. I have experience programming in python, and I'm willing to work for a low rate as I am new on this platform. Relevant Skills and Experience Python pro Daha fazlası

1 gün içinde 20\$ USD
(0 Değerlendirme)
0.0
1 gün içinde 30\$ USD
(0 Değerlendirme)
0.0
BlackBaron01

I think this is a good proposal. It will be finished in 1-2 days if you accept my bid. Relevant Skills and Experience I am good at python programming and algorithms which is very important for this task. Proposed Mil Daha fazlası

in 2 gün içinde25\$ USD
(0 Değerlendirme)
0.0
1 gün içinde 10\$ USD
(0 Değerlendirme)
0.0
1 gün içinde 10\$ USD
(0 Değerlendirme)
0.0
AbhishekKoshta91

Will do it for 10\$. Relevant Skills and Experience I have over two years of experience in python. I have solved calculated the macro-nutrient/kcal details from the given food items. This problems seems easy. and can b Daha fazlası

1 gün içinde 25\$ USD
(0 Değerlendirme)
0.0
manikgandotra229

I would like to bid on your project because I believe that I have the required skills to complete this project. Relevant Skills and Experience I have over one year of experience in Python. I am also proficient in C++. Daha fazlası

1 gün içinde 25\$ USD
(0 Değerlendirme)
0.0