1. Course
  2. Geometry A
  3. Draw a rectangle

Draw a rectangle


Last updated: 8/22/2020 Difficulty: Easy

Write a program in C# that requests a number x and then displays a rectangle 3 columns wide and 5 rows high using that digit.

Input

  1. 3

Output

  1. 333
  2. 333
  3. 333
  4. 333
  5. 333

Solution

Geometry A

2 / 6

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


CookieOwn and third party cookies to improve our services. If you go on surfing, we will consider you accepting its use.