
- Forum
- Programming Talk
- C Sharp
- For Loops in Action
For Loops in Action
This is a discussion on For Loops in Action within the C Sharp forums, part of the Programming Talk category; OutPut Window should show the following , Use only For Loops: 1. * ** *** **** ***** ****** ******* ******** ...
-
For Loops in Action
OutPut Window should show the following ,
Use only For Loops:
1.
*
**
***
****
*****
******
*******
********
2.
**********
*********
********
*******
******
*****
****
***
**
*

-
04-29-2007, 10:37 AM #2
- Join Date
- Apr 2007
- Answers
- 1
Is this a question or Quiz ?
-
04-30-2007, 09:38 AM #3
- Join Date
- Apr 2007
- Answers
- 1
for(i=0;i<5;i++)
{
for(j=0;j<i;j++)
pritf(" * ");
printf("\n");
for(ii=5;i>0;i--)
{
for(j=i;j>0;j--)
printf("*");
printf("\n");
}
-
Sponsored Ads

Reply With Quote





