Computer Science, asked by Applecookie, 1 year ago

write a program in c to print numbers from 1 to 50


Likun45: You are reccomended here - https://www.tutorialspoint.com/cprogramming/c_do_while_loop.htm

Answers

Answered by iamsaurabhc
2
int i;
for(i=0;i<50;i++){
printf("%d", i+1);
}

Add the remaining lines of #include and other things, before compilation.
Similar questions