Simple C Programing with TrazoR
http://simplec.tk/
LED PANEL
widgeo.net
Google It, You'll Get It.
Monday, January 31, 2011
using nested for loops to built a numeric triangle
o:
1
22
333
4444
----------------------
#include<'stdio.h'>
main()
{
for(int loop=1; loop<=4;loop++)
{
for(int j=0; j
{
printf("%d",loop);
}
printf("\n");
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment