Program to accept the number till the user stops obtain the sum and average. Use do-while loob. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Program to accept the number till the user stops obtain the sum and average. Use do-while loob.

im newbie in a coding world... so help me to code this program

8th Feb 2017, 3:56 PM
Cherom Gyan Ginglo
Cherom Gyan Ginglo - avatar
3 Answers
0
Homework. Give it a try yourself, post what you're struggling with. I cant imagine we will be able to help you during exams too, if we just give you the answer. Tip: average = sum / count;
8th Feb 2017, 4:24 PM
Ugnius Soraka
- 1
besides ugnius's idea....let me give u another hint. Tip: use Sentinel controlled program
10th Feb 2017, 1:00 PM
ibrahim selman
- 2
how should the user interrupt the loop?
8th Feb 2017, 4:00 PM
Edi Lipovac
Edi Lipovac - avatar