Hi,
I need to design the following pattern using just the 'for' and the 'if, else' statement. Please provide some help.. thanks in advance:
**********
!*********
!!********
!!!*******
!!!!******
!!!!!*****
!!!!!!****
!!!!!!!***
!!!!!!!!**
!!!!!!!!!*
The editor doesnt allow me to enter a space, so please replace ! with a space.
any help appreciated, thanks in advance.
I need to design the following pattern using just the 'for' and the 'if, else' statement. Please provide some help.. thanks in advance:
**********
!*********
!!********
!!!*******
!!!!******
!!!!!*****
!!!!!!****
!!!!!!!***
!!!!!!!!**
!!!!!!!!!*
The editor doesnt allow me to enter a space, so please replace ! with a space.
any help appreciated, thanks in advance.
Comment