Question: Is a Number Between 1 and 1 0 0 ? Check to see if userNumber is between 1 and 1 0 0 . If it
Is a Number Between and
Check to see if userNumber is between and
If it is create a for loop that prints all integer values starting with userNumber and going down to
Otherwise, print "Your number was not between and to the console.
import java.util.Scanner;
public class CodingQuestion
public static void mainString args
Scanner in new ScannerSystemin;
int userNumber innextInt;
DO NOT CHANGE THE CODE ABOVE THIS LINE
WRITE YOUR CODE HERE
DO NOT CHANGE THE CODE BELOW THIS LINE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
