Question: In C program #include Write a program that prompts the user to enter two integers. The program uses a loop to count how many numbers
In C program
#include
Write a program that prompts the user to enter two integers.
The program uses a loop to count how many numbers are multiples of 3 and how many numbers are multiples of 5 between the two integers (inclusive). Once all the multiples are counted, the program outputs the results.
For Example:
Enter two integers: 1 10 Number of multiples of 3 between 1 and 10 is: 3 Number of multiples of 5 between 1 and 10 is: 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
