• 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
Java certification
2 Votes
Beginner in coding and game development – where should I start?
0 Votes
Coding to automate word documents for technical specifications
1 Votes
I can't understand the bug
0 Votes
I have completed 39 courses and now I can't find any other course without those 39 couses what can I do
0 Votes
Error with code
0 Votes
What is <p>
1 Votes
Guys I'm a newcomer
1 Votes
Create website
0 Votes
What can I do
0 Votes