1. Course
  2. Flow controls C
  3. Odd numbers in descending

Odd numbers in descending


Last updated: 8/23/2020 Difficulty: Easy

Create a program in C# to show odd numbers from x to y in orden descending.

Input

49
3

Output

49 47 45 43 41 39 37 35 33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3

Solution

Flow controls C

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