c++ program to display odd number
Program
Method 1
c++ program to display odd number up to 21 using for loop
Method 2
c++ program to display odd number up to 21 using while loop
Method 3
c++ program to display odd number up to 21 using do while loop
Output:-
1
3
5
7
9
11
13
15
17
19
21
very good .........nice
ReplyDeletepala otAK
ReplyDeleteVery educational
ReplyDeleteHey,can i ask u a question.. Can uh tell me after finding odd numbers how can i increment these odd numbers??
ReplyDeleteCan i ask something how can we increment these odd numbers??
ReplyDeletein this output we have 1 to 21 odd numbers but in while condition we are putting i<=20 but in output we have 21 which is greater then 20.. Please help me out
ReplyDelete