- 4

Write a c program to output even numbers between 1 and 50 using do ..while loop?

11th Mar 2018, 3:01 PM
Sheldon Anyenda
Sheldon Anyenda - avatar
2 odpowiedzi
+ 17
U need to run a loop from n=1 to n=50 , print n if(n%2)==0 , ie even //@Expert , might U forgot to do increment ... look over it
11th Mar 2018, 4:08 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 2
@Gaurav Agrawal, думал, что он сам догадается. Да, не дописал.
11th Mar 2018, 7:33 PM
Expert
Expert - avatar