subject

I've asked this question 24 hrs ago. i got no response. can someone me to solve this problem? i've to submit it tomorrow before 7 am. i'm using java language.

write a program that determines the change to be dispensed from a vending machine. an item in the machine can cost between 25 cents and a dollar, in 5 cents increments (25,30,35,,95 or 100), and the machine accepts only a single bill to pay for the item.

for example, a possible dialogue with the user might be

enter the price of the item

(from 25 cents to a dollar, in 5-cent increment) : 45

you bought an item for 45 cents and gave me a dollar

so your change is :

2 quarters
0 dimes, and
1 nickel.

input validation: display the change only if a valid price is entered (no less than 25 cents, no more than 100 cents, and an integer multiple of 5 cents.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:30
Identify at least three types of characteristics that you were asked about as you the computer identify a fruit.
Answers: 3
question
Computers and Technology, 23.06.2019 10:00
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Which boolean operator enables you to exclude a search term? a} not b} and c} or d} plus
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
Which steps will open the system so that you can enter a question and do a search for
Answers: 1
You know the right answer?
I've asked this question 24 hrs ago. i got no response. can someone me to solve this problem? i'v...
Questions
question
Mathematics, 31.10.2020 01:00
question
Mathematics, 31.10.2020 01:00
question
Biology, 31.10.2020 01:00
question
Mathematics, 31.10.2020 01:00
question
Mathematics, 31.10.2020 01:00
question
Mathematics, 31.10.2020 01:00
question
Mathematics, 31.10.2020 01:00
Questions on the website: 13722363