News

A curtain opens on a stage to reveal different shaped animated characters - a sphere, a cube and a pyramid. NARRATOR: It's crunch time for the 3D crew. And who's going to take home the coveted ...
triangle(vertex1, get_mid(vertex1, vertex2), get_mid(vertex1, vertex3), depth - 1) triangle(vertex2, get_mid(vertex1, vertex2), get_mid(vertex2, vertex3), depth - 1 ...
1.Start 2. Ask the user to enter the number of rows → store in variable rows 3.Loop from i = 0 to i < rows: -Calculate number of spaces: rows - i - 1 Calculate number of stars: 2 * i + 1 Print the ...