Question: in java language Exercise 2: Write a program that allows the user to enter two integers: a and b. Your program should then display the
Exercise 2: Write a program that allows the user to enter two integers: a and b. Your program should then display the numbers divisible by 5 between the two entered integers with 7 numbers on each line. Pay attention if a > bor b>a Sample Run 1 Enter two integers 3 4 The numbers divisible par 5 between 3 and 4 are: no numbers I Sample Run 2 Enter two integers 5 90 The numbers divisible par 5 between 5 and 90 are: 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 Sample Run 3 Enter two integers SO - 25 The numbers divisible par 5 between -25 and 5 ares -20 -15 -10 -5 0 5 10 15 20 25 30 35 40 45
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
