Read an integer N.
This number indicates how many values the array will have.
Then, read N integers (one per line) and store them in an array.
Finally, read another integer X and find the position of the first element in the array that is strictly greater than X.
Hints:
for loop to read the data and store it in the array.for loop to traverse the array and break when you find an element > X.X, display the appropriate message.An integer N, followed by N integers, one per line, followed by an integer X.
If an element greater than X exists, display Posicion {index} (0-based position). Otherwise, display No existe.
Input:
5
10
20
55
80
30
50
Output:
Posicion 2