Saifuddin Islam

Saifuddin Islam

  • NA
  • 5
  • 1.1k

Problem for solution

Oct 24 2015 11:27 AM

1. To repeatedly prompt for a number and sum it. When the sum just exceeds 100, stop the prompting and display the sum at the end. You must not display the sum while the user in typing in numbers. (You do not need a counter but you will need some way of terminating the loop)

2. Same as the previous question but additionally displays the average of the numbers at the end of the loop. You will need a counter but not as a loop terminator.


Answers (1)