Main.ctxt 395B

123456789101112
  1. #BlueJ class context
  2. comment0.target=Main
  3. comment0.text=\n\ Sum\ of\ the\ Numbers\n
  4. comment1.params=
  5. comment1.target=int\ getNumber()
  6. comment1.text=\n\ Prompts\ user\ to\ enter\ an\ integer.\ Then\ calculates\ the\ sum\ of\ numbers\ from\ 1\ to\ entered\ value.\n
  7. comment2.params=n
  8. comment2.target=int\ sumNumbers(int)
  9. comment3.params=
  10. comment3.target=void\ solutionBasedOnInput()
  11. numComments=4