1. Course
  2. Arrays
  3. Array in reverse order

Array in reverse order


Last updated: 8/23/2020 Difficulty: Intermediate

Create a C# program that asks the user for 5 integers to store them in an array of integers and display them in reverse order.

Input

3
5
1
6
3

Output

3 6 1 5 3

Solution

Arrays

1 / 11

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