Question: Without array... use an If then else A while loop Write one java class program to: 1-ask the user to enter: a) A starting integer
Without array... use an "If then else" Write one java class program to: 1-ask the user to enter: a) A starting integer number b) An ending integer number 2-use a loop to print out all the ordinal numbers between the starting and ending number with the correct ordinal suffix 3-if the user enters an ending value that is less than the starting value, tell them so and end the program without producing any output. 4if the user enters an ending value more than 1000 numbers apart, tell them so and end the program without producing any output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
