Question: For this lab, you will write a program that read in three integers: low end of a range high end of a range factor Write
For this lab, you will write a program that read in three integers: low end of a range high end of a range factor Write each value within the range (inclusive) that is a multiple of the given factor. Then write how many multiples there were. REQUIRED: Use a FOR LOOP and the modulo operator to implement this. For the output, I do not mind if you have an ending comma! SAMPLE RUN (user input is shown in red for clarity, yours will not be in red) Start the range at: 10 End the range at: 20 Factor: 5 10, 15, 20 There are 3 multiples of 5 in the range of 10-20.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
