Home »
Chapter3 C program
» Program to print odd numbers less than 20 using for loop.
Program to print odd numbers less than 20 using for loop.
Explanation,
Here, i is initialized with value and in every loop, value in i increase by 2 until the condition gets false.
Output
Exercise:
Print even number less than 30 using for loop.
No comments:
Post a Comment
If you have any doubt, let me know...