Write the output for the following C program
#include< main( ) { int a, b; for (a=2, b=4; a < 100; b+=4, a*=3) { a+=b; printf("%4d", a); } } |
---|
Output :-
_ _ _ 6 _ _ 26 _ _ 90
#include< main( ) { int a, b; for (a=2, b=4; a < 100; b+=4, a*=3) { a+=b; printf("%4d", a); } } |
---|
© Blogger templates Newspaper III by Ourblogtemplates.com 2008
Back to TOP
0 comments:
Post a Comment