3
Answers

Console Application HELP

Miskha Neko

Miskha Neko

10y
941
1
Hii all
Have an other question about console application
Here is the question...Thanks
 
Write an algorithm that ask
user to enter values
within an array of 12
positions. Then, it should be
the values ​​shown in order
ascending and descending.
 
OUTPUT
 
The vector in the position [0] = 4
The vector in the position [1] = 1
The vector in the position [2] = 5
The vector in the position [3] = 2
The vector in the position [4] = 3
The vector in the position [5] = 6
The vector in the position [6] = 7
The vector in the position [7] = 9
The vector in the position [8] = 8
The vector in the position [9] = 11
The vector in the position [10] = 0
The vector in the position [11] = 10
 
 
Ascending
 
0
1
2
3
4
5
6
7
8
9
10
11 
 
Descending
 
11
10
9
8
7
6
5
4
3
2
1
 
 
Answers (3)