Want more features on Pastebin? Sign Up, it's FREE!
Guest

Assignment2 Instructions

By: a guest on Feb 2nd, 2013  |  syntax: None  |  size: 1.40 KB  |  views: 26  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. A s s i gnme nt 2
  2. Due: 11:59pm Thursday 2/7/2013
  3. Points: 10
  4. Write a program that does the following:
  5. 1. Prompts the user to input five decimal numbers
  6. 2. Outputs the five decimal numbers input
  7. 3. Converts each decimal number to the nearest integer
  8. 4. Adds the five integers
  9. 5. Outputs the sum and average of the five integers
  10. Output may look as follows:
  11. Enter five decimal numbers separated by spaces: 5.4 8.33 11.7 15.1 17.99
  12. The five decimal numbers input are:
  13. 5.4
  14. 8.33
  15. 11.7
  16. 15.1
  17. 17.99
  18. The five decimal numbers converted to integers are:
  19. 58 11
  20. 15
  21. 17
  22. The sum of the integers: 56
  23. The average of the integers: 11.2
  24. NOTE: Do not worry about formatting the decimal numbers
  25. This project should be submitted using the course BlackBoard.
  26. HVCC BlackBoard
  27. Assignment submission process:
  28. 1. Logon to HVCC BlackBoard
  29. 2. Click on link to: Spring_2013_CISS_110_501_Programming & Logic I
  30. 3. Click Assignments button on left
  31. 4. Click View/Complete Assignment: Assignment 2
  32. 5. Enter any comments pertaining to the Assignment
  33. 6. Attach any files you want to upload for the assignment (Certainly the .java you've written
  34. and any additional files required for the assignment
  35. 7. “Submit” actually submits the assignment and “Save” saves an interim version of what
  36. you're submitting
  37. 8. The button to the right will let you know when I've reviewed and graded your assignment
  38. Programming Assignment 2 01/28/13 1
clone this paste RAW Paste Data