1. Course
  2. Geometry B
  3. Draw a hollow rectangle

Draw a hollow rectangle


Last updated: 8/23/2020 Difficulty: Intermediate

Write a program in C# that asks the user for a symbol, a width and a height to draw a hollow rectangle with those dimensions.

Use the symbol to paint the hollow rectangle.

Input

4
3
5

Output

444
4 4
4 4
4 4
444

Solution

Geometry B

2 / 4

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Make a donation


Your donations support our work and contribute to the maintenance of the app.

Advertising