All Data For Free
Pages
Home
Watch Full WWE Episodes of Raw and Smackdown
Contact Us
Copyright Policy
Sunday, 11 December 2011
Write a program to print a triangle with for loop in c
#include
#include
void main()
{
int i,j;
clrscr();
for(i=0;i<=10;i++)
{
for(j=0;j
{
printf("*");
}
printf("\n");
}
getch();
}
OUTPUT
*
**
***
****
*****
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment