Question: 7- Write a loop to print all numbers from 1 to 200 that are divisible by both 3 and 5. Each number should be on

7- Write a loop to print all numbers from 1 to 200 that are divisible by both 3 and 5. Each number should be on a separate line. (5 pts)

8- Suppose we want to have the total of 100 random integer numbers in the range of 1 and 1000, Write the code do calculate and display the total of all random numbers in this range (5 pts)

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!