akosiraff

Download ComputeChange JAVA Answer

Apr 4th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1.  
  2. Download: https://solutionzip.com/downloads/computechange/
  3. Using the concepts learnt up to and including chapter 5.
  4. Modify a Java program that meets the following requirements:
  5. Given the program listing 2.10 ComputeChange (found in chapter 2), I want you to modify that program
  6. so that the user may enter the amount to compute change multiple times using a sentinel value to end
  7. the program, and add a prompt to ask the user if they want to check another amount to determine the
  8. maximum number of dollars, quarters, dimes, nickels, and pennies. Also add an if statement to
  9. determine if there is an amount in the cents and proceed to determine the number of quarters, dimes,
  10. nickels, otherwise if cents is zero then bypass those calculations.
  11. At the beginning of the program add the following comments.
  12. //Filename //Written by
  13. //Written on //Assignment number
  14. //Program description
  15. Purpose:
  16. Modify a java program from detailed directions.
  17. Ability to:
  18. Follow established programming conventions for writing java programs
  19. Add comments as needed
  20. Able to modify an existing program
  21. Add a prompt making sure the user understands the purpose of the program
  22. Add an IF statement
  23. Use the appropriate type of loop
  24. Use a sentinel value
  25. Modify print statements for output
  26. Download: https://solutionzip.com/downloads/computechange/
Add Comment
Please, Sign In to add comment