#include <stdio.h>
int main() {
// Using a for loop to print numbers from 1 to 5
printf("For Loop Example:\n");
for (int i = 1; i <= 5; i++) {
printf("%d\n", i);
}
return 0;
}
#include <stdio.h>
int main() {
// Using a for loop to print numbers from 1 to 5
printf("For Loop Example:\n");
for (int i = 1; i <= 5; i++) {
printf("%d\n", i);
}
return 0;
}