An easy program for you...!!! Don't get panicked by difficult one's try this...!!!
Because simple programming always leads to complex one...!!!! Cheer-Up...!!!
#include <stdio.h>
int main()
{
int i=0;
for(;i<=2;)
printf(" %d\t%d\t%d\n",++i,i,i++);
return 0;
}
EXPECTED OUTPUT:
2 2 0
4 4 2
(Test your knowledge)
No comments:
Post a Comment