Prompt the user for a string input value for the amount in


The code in the main method should do the following:

1. Prompt the user for a string input value for the amount in dollars and store it in a variable named input.

2. Convert the string to an integer and store it in the variable named amount. You can assume that the user enters a valid integer number.

3. Print the converter integer

4. Declare the integer variables named hundreds, fifties, twenties, tens, five, twos, and ones.

5. Declare another integer variable named remaining Amount.

6. Compute the hundreds and the remaining Amount. Print the information.

7. Compute the fifties and the remaining Amount. Print the information

8. Compute the twenties and the remaining Amount. Print the information

9. Compute the tens and the remaining Amount. Print the information

10. Compute the five and the remaining Amount. Print the information

11. Compute the twos and the remaining Amount. Print the information

12. Compute the ones and the remaining Amount. Print the information

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Prompt the user for a string input value for the amount in
Reference No:- TGS0629690

Expected delivery within 24 Hours