Question: Write a programme that will read a number within the range of 1 to 10 from the user. Then, the programme will print all

Write a programme that will read a number within the range of 1 to 10 from the user. Then, the programme will print all numbers from 1 to 10 excluding the number entered by the user. For instance, if the user input 5, then all numbers from 1 to 10 will be printed, except for number 5.
Step by Step Solution
3.59 Rating (156 Votes )
There are 3 Steps involved in it
import javautilScanner public class Main public static void mainStri... View full answer
Get step-by-step solutions from verified subject matter experts
