Answer:
Gigabyte: Unit of measurement, is 10^9 bytes.
Intranet: Network that is used for sharing info, and other services.
Pixel: Creates a image, it is the smallest element on a display on a device.
Modem: Converts signals produced by a computer or another type of device.
Digital: Problem solving by any capable class device.
Explanation:
Short and simple.
In python:
age = float(input("How old are you? "))
weight = float(input("How much do you weigh? "))
heart_rate = float(input("What's your heart rate? "))
time = float(input("What's the time? "))
print("The calories burned for men is {}, and the calories burned for women is {}.".format(
((age * 0.2017) - (weight * 0.09036) + (heart_rate * 0.6309) - 55.0969) * (time / 4.184),
((age * 0.074) - (weight * 0.05741) + (heart_rate * 0.4472) - 20.4022) * (time / 4.184)))
This is the program.
When you enter 49 155 148 60, the output is:
The calories burned for men is 489.77724665391963, and the calories burned for women is 580.939531548757.
Round to whatever you desire.
Answer:
def sum_digits(number):
total = 0
if 1 <= number <= 999:
while number > 0:
r = int (number % 10)
total +=r
number /= 10
else:
return -1
return total
print(sum_digits(658))
Explanation:
Write a function named sum_digits that takes one parameter, number
Check if the number is between 1 and 999. If it is, create a while loop that iterates until number is greater than 0. Get the last digit of the number using mudulo and add it to the total. Then, divide the number by 10 to move to the next digit. This process will continue until the number is equal to 0.
If the number is not in the given range, return -1, indicating invalid range.
Call the function and print the result
Answer:
A. Mail Merge
Explanation:
I had this question last year
Answer:
465 ways
Explanation:
Atleast 1 girl and 1 boy
Possible combinations :
1 girl ; 3 boys = 6C1 ; 6C3
2 girls ; 2 boys = 6C2 ; 6C2
3 girls ; 1 boy = 6C3 ; 6C1
(6C1 * 6C3) + (6C2 * 6C2) + (6C3 * 6C1)
Combination formula:
nCr = n! ÷ (n-r)!r!
We can also use a calculator :
6C1 = 6
6C3 = 20
6C2 = 15
Hence,
(6C1 * 6C3) + (6C2 * 6C2) + (6C3 * 6C1)
(6 * 20) + (15 * 15) + (20 * 6)
120 + 225 + 120
= 465 ways