Answer:
- low = 10
- high = 50
- count = 0
-
- for i in range(low, high + 1):
- if(i % 3 == 0 and i % 5 == 0):
- count += 1
- print(count)
Explanation:
The solution code is written in Python.
We can create low and high variables to store the lower bound and upper bound in the range (Line 1-2)
Next create a counter variable, count (Line 3).
Use a for loop to traverse through the number between lower bound and upper bound and check if the current number-i is divisible by 3 and by 5, increment the count by one.
After the loop, print the count and we can get the number of ideal integers within the range (Line 8).
High level sorry if im wrong
# 2 on the right goes to zipties
Answer:
The correct answer is Option 1: an output device.
Explanation:
A computer is an electronic machine that works according to data and instructions given to it.
The data is the input and information is the output.
Input devices are used to take input and output devices are used to display the results of processing as output.
From the given options, An output device is the one which enables the information to be viewed in easily understandable format.
Hence,
The correct answer is Option 1: an output device.