• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

in order to find the sum of n numbers given by user,suppose our program is to find the sum of any 4 numbers given by user (using while loop such that (while(i<=4))and incrementing each value of i by 1),if the user give any 2 inputs instead of four then the total sum should be the summation of that two inputs..but the program shows the sum something else,why it is so??
c++loops
2 Votes
3 Answers
12th Jan 2017, 4:40 AM
Pragya Priya
Pragya Priya - avatar
< Previous1...1718Next >
Hot today
What programming language should i learn to make applications or games?
0 Votes
I need help
1 Votes
My hearts are disappering :(
0 Votes
How to learn python fast than usual in sololearn?
0 Votes
What can html, css and javascript do
0 Votes
a phone or a laptop
0 Votes
Pressure and tension
2 Votes
How to make a selection on a calculator in Python
0 Votes
Where is code bit
0 Votes
Java IDE for building a game.
0 Votes