Question: Exercise 2: Write a program that allows the user to enter two integers:n and m. Your program should then display the numbers divisible by 3
Exercise 2: Write a program that allows the user to enter two integers:n and m. Your program should then display the numbers divisible by 3 between the two entered integers with 5 numbers on each line. Pay attention if n > morm>n Sample Run 1 Enter two integers 3 4 The numbers divisible par 3 between 3 and 4 are: no numbers Sample Run 2 Enter two integers 3 80 The numbers divisible par 3 between 3 and 80 are: 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 Sample Run 3 Enter two integers 9 -6 The numbers divi -3 0 3 6 Page 2 / 2 and are: a +
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
