Answer:
Explanation:
Let's do this in python
(a) Between 5 and 60 and divisible by 5
for i in range(5, 60/5):
print(5*i)
(b) Less than 200 and divisible and 2 and 7
for i in range(1, int(200/14) + 1):
print(14*i)
(c)Sum of multiple of 8 that are between 100 and 500
sum_result = 0
for i in range(100, 500):
if i % 8 == 0:
sum_result += i
print(sum_result)
(d)sum of all odd numbers between 20 and 10
sum_odd = 0
for i in range(10, 20):
if i % 2 == 1:
sum_odd += i
print(sum_odd)
Because it combines a computers into pretty much one computer
Answer:
Following are the statement of the program in the C++ Programming Language.
//prototype of the function
double powerTo (double, int);
Explanation:
In the following statement which is written in the C++ Programming Language.
- The function prototype tells us what type of data type return by that function.
- We declare the prototype of the function "powerTo()" which returns the double and pass two arguments first one is double data type and the second one is integer data type.
Answer: D
Within a specific time period or by a specific user
Explanation:
Use persuasion, meaning persuade them to stop