how to put a program on a loop c' code example
Example: loops in c
// Print numbers from 1 to 10
#include
int main() {
int i;
for (i = 1; i < 11; ++i)
{
printf("%d ", i);
}
return 0;
}
// Print numbers from 1 to 10
#include
int main() {
int i;
for (i = 1; i < 11; ++i)
{
printf("%d ", i);
}
return 0;
}