0
how to print 1 to 20
how to print 1 to 20 using while loop in c program?
1 Antwort
+ 2
int x = 1;
while (x <= 20) {
printf("%d", x);
x++;
}
(Obviously add the main function and include the io library)
how to print 1 to 20 using while loop in c program?