Question: Write a program that prints all numbers from 0 to 1 0 0 0 ( both inclusive ) with the following stipulations: The numbers should
Write a program that prints all numbers from to both inclusive with the following stipulations:
The numbers should be printed in increments of
All numbers that are divisible by or should not be printed
Additionally, the total count of the printed numbers should be displayed at the end
The average value of all the printed numbers should also be displayed at the end
Your output should look like so:
the total count is:
the average is:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
