Question: 2 Exercise 1: Counting Multiples of 2 and 3 Using a while loop statement, write a program that reads 10 integer numbers. The program shall
2 Exercise 1: Counting Multiples of 2 and 3 Using a while loop statement, write a program that reads 10 integer numbers. The program shall count how many of them are multiples of 2, how many are multiples of 3, and how many are NOT multiples of either 2 or 3. The output should be similar to the one shown below. Sample Input/Output: Enter 10 integer numbers: 4 5 You have entered 4 integers that are multiples of 2. You have entered 5 integers that are multiples of 3. you have entered 3 integers that are NOT multiples of either 2 or 3. 8 9 12 15 17 21
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
