Find Jobs
Hire Freelancers

Project 002

$10-30 USD

Закрито
Опублікований over 6 years ago

$10-30 USD

Оплачується при отриманні
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.
ID проекту: 15159404

Про проект

11 пропозицій(-ї)
Дистанційний проект
Активність 6 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
11 фрілансерів(-и) готові виконати цю роботу у середньому за $23 USD
Аватарка користувача
i can do it Relevant Skills and Experience i know python Proposed Milestones $20 USD - program
$20 USD за 1 день
4,8 (22 відгуки(-ів))
5,3
5,3
Аватарка користувача
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 день
4,9 (33 відгуки(-ів))
4,5
4,5
Аватарка користувача
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 день
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
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 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
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 день
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
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 день
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор UNITED STATES
United States
0,0
0
На сайті з вер. 13, 2017

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.