Adapted by Neilor Tonin, URI Brazil
Read an array X. After, replace every null or negative number of X by 1. Print all numbers stored in the array X.
The input contains 10 integer numbers. These numbers can be positive or negative.
For each position of the array, print "X [i] = x", where i is the position of the array and x is the number stored in that position.
|Input Sample||Output Sample|
X = 1