In java, Write a for loop that iterates eight times to find the minimum value in a list of eight integer values. Within the loop:
Read an integer value from input into variable inputValue.
The first value assigned to inputValue is the smallest integer value read by default, since no other values have been read yet. Thus, if the current iteration is the first iteration, assign lowestVal with inputValue.
Otherwise, if inputValue is less than lowestVal, assign lowestVal with the value of inputValue.