box()

Box - Draws a cuboid/rectangular prism

Example

Syntax

Parameter
Description

width

length of the box in the x-direction

height

length of the box in the y-direction

depth

length of the box in the z-direction

Example Full Code

Description

draws a box of a specified width, height, and depth.

Find these documents helpful? Let the people who made them help your child learn to code at Strivemath!

We'd love to hear your Feedback/Comments here.

Last updated