Question: Write a program that inputs a range of numbers ( starting and ending ) and displays all the numbers within that range that are divisible

Write a program that inputs a range of numbers (starting and ending) and displays all the numbers within that range that are divisible by 3 and 5 on a single line. (Hint: use the appropriate arithmetic operator.)
If the user entered a range of 100 to 200, the output would display:
105120135150165180195

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!