1. Course
  2. Flow controls B
  3. Infinite multiplication tables

Infinite multiplication tables


Last updated: 8/22/2020 Difficulty: Easy

Create a C# program that asks the user for a range of numbers (x, y) and displays the multiplication tables from x to y.

Input

2
3

Output

2x1= 2
2x2= 4
2x3= 6
2x4= 8
2x5= 10
2x6= 12
2x7= 14
2x8= 16
2x9= 18
2x10= 20

3x1= 3
3x2= 6
3x3= 9
3x4= 12
3x5= 15
3x6= 18
3x7= 21
3x8= 24
3x9= 27
3x10= 30

Solution

Flow controls B

5 / 8

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.

Advertising