Find Jobs
Hire Freelancers

Project 002

$10-30 USD

Kapalı
İlan edilme: 6 yıldan fazla önce

$10-30 USD

Teslimde ödenir
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.
Proje No: 15159404

Proje hakkında

11 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 6 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
11 freelancers are bidding on average $23 USD for this job
Kullanıcı Avatarı
i can do it Relevant Skills and Experience i know python Proposed Milestones $20 USD - program
$20 USD 1 gün içinde
4,8 (22 değerlendirme)
5,3
5,3
Kullanıcı Avatarı
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 - Completion milestone
$30 USD 1 gün içinde
4,9 (33 değerlendirme)
4,5
4,5
Kullanıcı Avatarı
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 programming expert Proposed Milestones $20 USD - Project completion
$20 USD 1 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
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 Milestones $25 USD - Whole project
$25 USD 2 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
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 be solved in less than an hour. Proposed Milestones $25 USD - Delivering the python script Additional Services Offered $1 USD - Few modifications, if needed can be done with no cost
$25 USD 1 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
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++. I have solved many algorithmic problems online on various competitive coding websites. Proposed Milestones $25 USD - Create the program that performs the required tasks.
$25 USD 1 gün içinde
0,0 (0 değerlendirme)
0,0
0,0

Müşteri hakkında

   UNITED STATES bayrağı
United States
0,0
0
Eyl 13, 2017 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.