Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started