Question: Program name ModProg.java Use a post-test loop for this project. Problem definition: define three ints int start; int end; int divisor; Prompt the user for
Program name ModProg.java Use a post-test loop for this project.
Problem definition:
define three ints
int start;
int end;
int divisor;
Prompt the user for a start number
Prompt the user for a end number
Prompt the user for a divisor number
find all the numbers between start and end that are
evenly divisible by divisor
Output should look like:
The following numbers
between start and end
are divisible by divisor
nn
nn
etc
where start, end, and divisor are the three numbers obtained from the user.
Use a post-test loop for this project.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
