Get 50% OFF on AI & Full Stack Courses
📞 Call Now: +91 8448811320
Home › Community › WAC to print all odd nos. from 1 to 100.

WAC to print all odd nos. from 1 to 100.

Soham  •  Jul 17, 2026  •  42 views
0

1 Answers

Soham
Jul 17, 2026
#include <stdio.h>

int main() {
int i;

for (i = 1; i <= 100; i = i + 2) {
printf("%d ", i);
}

return 0;
}

Your Answer

Will not be displayed publicly
Talk to Advisor Online now
1