Question: Please use C and graphics.h. Write a program that draws a pyramid consisting of bricks arranged in horizontal rows, so that the number of bricks
Please use C and graphics.h. Write a program that draws a pyramid consisting of bricks arranged in horizontal rows, so that the number of bricks in each row decreases by one as your move up the pyramid, as shown in the following diagram: ! Your implementation should use the constant NBricksInBase to specify the number of bricks in the bottom row and the constants BrickWidth and BrickHeight to specify the dimensions of each brick. Use these constants: #define NBricksInBase 16 #define BrickWidth 0.3 #define BrickHeight 0.15
MITTTIIII III Your inclementation should use the constant BricksInBase to specify the number of bricks in the bottom row and the constants Brick Widto and BrickHeight to specify the dimensions of each brick MITTTIIII III Your inclementation should use the constant BricksInBase to specify the number of bricks in the bottom row and the constants Brick Widto and BrickHeight to specify the dimensions of each brick
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
