Write a program in c to print the values 12 , 10 , 8 , 6 , 4 at tab stops ( for loop )
#include< #include< #include< main() { int i; for (i = 12; i > = 4; i = i - 2) { printf("%d \t", i); } return(0); } |
---|
Output:-
12 10 8 6 4
#include< #include< #include< main() { int i; for (i = 12; i > = 4; i = i - 2) { printf("%d \t", i); } return(0); } |
---|
© Blogger templates Newspaper III by Ourblogtemplates.com 2008
Back to TOP
0 comments:
Post a Comment