Dyskusje Q&A
Question
2 głosów
4 odpowiedziwhile loop
1 Głos
5 odpowiedziin 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??
2 głosów
3 odpowiedziPopularne dzisiaj
Ai generated practices
2 Votes
Solving coding challenges
2 Votes
I am new
1 Votes
Advertising in Sololearn
0 Votes
Programming Language
0 Votes
RUST'S FUTURE
1 Votes