English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

#include
main()
{
int i,n,j;
cout<<"please enter number: ";
cin>>n;
for ( i = 1; i <= n; i++)
{
for ( j = 0; j < n - i + 2; j++)
cout<<(' ');
for ( j = 0; j < i; j++)
{
cout<<(i);
cout<<(' ');
}
cout<<"\n";
}
} code:
out put if enter 5 is
*****1
****2 2
***3 3 3
**4 4 4 4
*5 5 5 5 5
6 6 6 6 6 6
" * " are not part of output

2006-10-27 03:23:59 · 6 answers · asked by Muhammad A 1 in Computers & Internet Programming & Design

6 answers

This is a text only option in the Yahoo answers and not a word processor or flow chart designer so, I guess you will have to do your homework yourself...

2006-10-27 03:26:22 · answer #1 · answered by Ritz 3 · 0 0

just teranselat them like that ........
oval for start and stop , rectangle for a calculationor process other than a desigon like i=1
diamond for a decision like i<=n
any cout or cinwrite it in parallegram
transelate for in circle .. if u can help me also plz do thnx.

2006-10-28 09:56:33 · answer #2 · answered by kater al nada 2 · 0 0

No...I dont want to....you "blow" ur own flowchart

Thanks for the 2 points though

2006-10-27 03:25:29 · answer #3 · answered by Josh B 5 · 1 0

Huh?

2006-10-27 03:25:11 · answer #4 · answered by Lucy Lu 4 · 0 0

only if you code it in ALC or COBOL

2006-10-27 03:26:32 · answer #5 · answered by blackratsnake 5 · 0 0

No....do your own homework!

2006-10-27 03:24:43 · answer #6 · answered by timc_fla 5 · 3 0

fedest.com, questions and answers