1. Course
  2. Flow controls A
  3. Using the instruction while

Using the instruction while


Last updated: 8/22/2020 Difficulty: Easy

Create a program in C# that requests a number (x) and displays 10*x. Must be repeated until the user enters 0.

Input

5
4
6
0

Output

50
40
60

Solution

Flow controls A

5 / 9

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