I want to writer a program in which i input an array?

let the array i entered is :

4

1

2

3

The prigram can take values and find the positions of the character in the array such that the smallest on 0 position and so on.

The result of the array will be if i start array from 0

1

2

3

0

that means it will find the position of the numbers in the array and display it on the screen

Onlt the position of the numbers is specifying and the position of the numbers.

Any one to solve it.