Find Jobs
Hire Freelancers

Decision Control and Loops with User Interaction

$10-30 USD

Completed
Posted over 9 years ago

$10-30 USD

Paid on delivery
Write a Java application that prompts the user for pairs of inputs of a product number (1-5), and then an integer quantity of units sold (these are two separate prompts for input values). You must use a switch statement and a sentinel-controlled loop (i.e., a loop that stops execution when an out-of-range value, such as -1, is input). All 15 items below are for a single purchase. There are five sets of inputs as follows: Product 1 1 unit (cost is $2.98 per unit) Product 2 2 units (cost is $4.50 per unit) Product 3 3 units (cost is $9.98 per unit) Product 4 4 units (cost is $4.49 per unit) Product 5 5 units (cost is $6.87 per unit) Your application must calculate and display the total retail value of all products sold after all five pairs of inputs are completed. You must also display the total after each new pair of input values is entered
Project ID: 6917168

About the project

6 proposals
Remote project
Active 9 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
Awarded to:
User Avatar
hi mate this is asad, i have a lot of experience in Java programming, would surely help you out, cheers :)
$30 USD in 0 day
4.9 (22 reviews)
4.6
4.6
6 freelancers are bidding on average $24 USD for this job
User Avatar
Looks as easy thing, it can be completed in few hours ...................................................
$25 USD in 1 day
4.9 (153 reviews)
5.3
5.3
User Avatar
Dear sir, I am interested in the project. Can do it fast. Thank you....................................
$30 USD in 0 day
5.0 (10 reviews)
4.9
4.9
User Avatar
Hi I am a Java developer having 5+ years of experience in Application development. I have gone through the description and can do your project. I can start now. Waiting for your positive response. Thanks, Prakash
$19 USD in 1 day
4.2 (6 reviews)
3.0
3.0
User Avatar
Hi, I have 2 years java development experience, I am currently working on java. I will do your job. waiting for your reply
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Aucune proposition n'a encore été fournie.
$15 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Daphne, United States
5.0
26
Payment method verified
Member since Dec 29, 2014

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.