can you help me in my assignment...??
creating a pyramid with 14 base..
BRICKS_WIDTH(30px)
BRICKS_HEIGHT(12px)
can you give the of this..??/
pyramid
Page 1 of 12 Replies - 157 Views - Last Post: 06 August 2010 - 06:57 PM
Replies To: pyramid
#2
Re: pyramid
Posted 06 August 2010 - 05:27 PM
DIC has a policy where we like to see your good faith efforts before attempting to help you. Seeing some of your code actually helps us help you by making it easier for us to spot the source of trouble for you 
As for creating a pyramid, the general idea would be to use a loop and increment the number of bricks as you progress through the loop. Of course, you will need to implement your requirements such as brick width and height.
As for creating a pyramid, the general idea would be to use a loop and increment the number of bricks as you progress through the loop. Of course, you will need to implement your requirements such as brick width and height.
Page 1 of 1
|
|

New Topic/Question
This topic is locked




MultiQuote






|