Question: a) Write a for loop that will input 10 integer values from the user and keep track of the smallest value entered. After the loop
a) Write a for loop that will input 10 integer values from the user and keep track of the smallest value entered. After the loop is over, print the smallest value. b) Once you have the for loop working, do the problem again using a while loop. After this problem, insert a statement to throw away" the newline. scnr.nextLine Important! Problem 3 will not work if you don't put this line of code in your program Problem 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
