Design a program that prompt user to enter 10 numbers and show the sum of all these numbers ( in loop case) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Design a program that prompt user to enter 10 numbers and show the sum of all these numbers ( in loop case)

9th Sep 2018, 1:13 PM
anabia
8 Answers
+ 6
You should use cin>> and just add them using '+' operator
9th Sep 2018, 1:22 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 5
Homework?
9th Sep 2018, 1:14 PM
Hatsy Rei
Hatsy Rei - avatar
+ 4
I think you can
9th Sep 2018, 1:23 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 4
Please provide a link to your Code Playground code so we can help you troubleshoot the specific issues you are running into. The Code Playground should be relatively easy to find in the website version of SoloLearn, but if you are in the app version, it can be accessed via the curly braces, green circle with plus sign to add a new project, then select the project type. Looking forward.
9th Sep 2018, 1:57 PM
Janning⭐
Janning⭐ - avatar
+ 3
which language? in any case, showcase your attempt please
9th Sep 2018, 1:14 PM
hinanawi
hinanawi - avatar
0
can we use cin in loop case?
9th Sep 2018, 1:23 PM
anabia
- 2
in loop case!
9th Sep 2018, 1:22 PM
anabia
- 3
I need it's source code...
9th Sep 2018, 1:15 PM
anabia