Use loops to create an app that draws emojis into the grey box.
The user will enter a number of characters to display on the screen.
Enter the number of characters to display:
Output:
The user will enter the dimensions of a square to display on the screen.
Use a loop within a loop and the <br />
HTML tag in your output to create the square.
Enter the dimensions of a square:
Output:
The user will enter the dimensions of a triangle to display on the screen.‌
Use a loop within a loop and the <br />
HTML tag in your output to create the triangle.
Enter the dimensions of a triangle:
Output:
The user will enter the dimensions of a square to display on the screen. The square is outlined by a different character.
Enter the dimensions of a square:
Output:
The user will enter the dimensions of a square to display on the screen. The square is outlined by a different character and there is another different character in the center. The app doesn't allow dimensions that will not allow the center character.
Enter the dimensions of a square:
Output: