logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

New Topic Post Reply
Guest
#1 Posted : Monday, October 11, 2010 2:18:25 AM(UTC)
Quote
Guest
Rank: Guest

Joined: 12/12/2009(UTC)
Posts: 540

hi frineds i want to print these starts on C program but i am getting errors can u plz help me
--------------------------------------…
*
* * *
* * * * *
* * * * * * *
* * * * * * * * *
--------------------------------------…

i need it please friends thanks

Edited by user Monday, October 11, 2010 2:19:57 AM(UTC)  | Reason: Not specified

Sponsor

Soan
#2 Posted : Monday, October 11, 2010 2:24:00 AM(UTC)
Quote
Soan
Rank: Administration

Reputation:

Joined: 1/9/2010(UTC)
Posts: 449
Man
Location: India

Was thanked: 1 time(s) in 1 post(s)
for(i=1;i<=5;i=i++) //for loop for the rows
{
for(j=1; j<=i; j++) //for loop for the columns
{
printf("*");
}
printf("\n");
}

Enjoy!!
Quick Reply Show Quick Reply
Users browsing this topic
Guest
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.