Answer to Question #92694 in C++ for RAHUL ROY

Question #92694
Fill in the blanks in the following program so that it draws an array of 16 tiles, organized in 4 rows of 4 tiles each, with each tile being a square of side length 100 and there being 10 pixels between consecutive tiles in each row. The tiles are placed with sides vertical and horizontal.

repeat(4){
repeat(4){
repeat(4){forward(100); right(90);}
___
}
penUp(); forward(___); right(90); forward(___); right(270); penDown();
}

Fill in the blanks in both places with one or more commands.
1
Expert's answer
2019-08-16T03:56:06-0400
repeat(4)
{
repeat(4)
{
repeat(4)
{
forward(100);
right(90);
}
penUp();
right(180);
forward(110);
right(180);
penDown()
}
penUp();
forward(440);
right(90);
forward(110);
right(270);
penDown();}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS