Hay Guys ,
i have an assignment
i should make 2 programs with for loop
to out put those Figure
num.1
*
**
***
****
*****
******
*******
********
num.2
*
**
***
****
*****
******
*******
********
and Explan please
Hay Guys ,
i have an assignment
i should make 2 programs with for loop
to out put those Figure
num.1
*
**
***
****
*****
******
*******
********
num.2
*
**
***
****
*****
******
*******
********
and Explan please
I remember that I had the same assignment in my school... What have you done so far? For each of them you need 2 for loops - one that iterates vertically and one that iterates horizontally. One depends on the other.
Last edited by kmdv; 12-26-2010 at 11:11 AM.
Really !! , No One Can Solve That ? ? ?
Of course many can solve that. But what have you done so far?
well... I do not really know how to explain... but if YOU have an assignment where YOU should make something it means that YOU should DO something not just wait that somebody who does not have this assignment and should not write your program will do it just to take away from you the possibility to actually DO your assignment
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
Oh yes, I remember making a christmas tree with this..
you need 3 for loops at least..
hint: one is for a spaces (if there are no spaces, it won't work)
You ended that sentence with a preposition...Bastard!