Write the output for the following C program ?
main( ) int x=3, y=5, n; while (y < 30) { n=x+y; printf("%3d", n); x=y; y=n; } } |
---|
Output :-
_ _ 8 _ 13 _ 21 _ 34
main( ) int x=3, y=5, n; while (y < 30) { n=x+y; printf("%3d", n); x=y; y=n; } } |
---|
© Blogger templates Newspaper III by Ourblogtemplates.com 2008
Back to TOP
0 comments:
Post a Comment