# 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 [login to view URL], 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 ([login to view URL]) 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 ([login to view URL]) 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 ([login to view URL]) 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 ([login to view URL]) 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

## Bu iş için 11 freelancer ortalamada \$23 teklif veriyor

imRaziel

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

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(22 Değerlendirme)
5.3
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 Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(33 Değerlendirme)
4.5
RushService

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

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(6 Değerlendirme)
3.4
1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(1 Yorum)
0.9
1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% 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 Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% 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 Fazla

in %bids___i_period_sub_35% gün içinde25%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0
1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0
1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% 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 Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% 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 Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0