Find Jobs
Hire Freelancers

Project 002

$10-30 USD

Closed
Posted over 6 years ago

$10-30 USD

Paid on delivery
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.
Project ID: 15159404

About the project

11 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
11 freelancers are bidding on average $23 USD for this job
User Avatar
i can do it Relevant Skills and Experience i know python Proposed Milestones $20 USD - program
$20 USD in 1 day
4.8 (22 reviews)
5.3
5.3
User 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 in 1 day
4.9 (33 reviews)
4.5
4.5
User 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 in 1 day
0.0 (0 reviews)
0.0
0.0
User 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 in 2 days
0.0 (0 reviews)
0.0
0.0
User 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 in 1 day
0.0 (0 reviews)
0.0
0.0
User 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 in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Sep 13, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.