+ 1
Write a c program that continue to sums up natural numbers as they are entered by a user print out the total only when zero is
3 Respuestas
+ 4
Hannah Joshua use cin for taking input into while loop.. loop should be ended when user enters 0... store summation of entered value in to a variable and print that variable out of while loop..
+ 1
Ace I also thought c first.. checked profile of Hannah Joshua and observe that he is doing c++ course and hence changged from scanf to c++