Answer:
Following are the program in the Python Programming Language.
#get input from the user
x = float(input())
#get input from the user
y = float(input())
#get input from the user
z = float(input())
#find the average
average =(x+y+z)/3
#find the product
product = x*y*z
#print the result in given format
print('\n%d %d'%(average,product))
#print the result in given format
print('%0.2f %0.2f'%(average,product))
Explanation:
<u>Following are the description of the program</u>:
- We set three variables 'x', 'y', and 'z' that accept float type values from the user.
- Then, set variable 'average' that store the average of the following values that is given by the user.
- Set variable 'product' that store the multiplication of the following values that is given by the user.
- Finally, we print the average and the product in the following format that is given in the statement.
Margin because it is always on the end of document
Answer:a) int
Explanation: Loop counter is the kind of program that has the major function of counting the start value to the destination value in the form of integer.The integer is used for counting the values in a particular loop is known as the loop control variable.Therefore the accurate datatype for the loop counter to count the values should be of int type.
180 meters in 60 seconds is an average speed of 180m/60s = 3 m/s.
Every email address is something like this ... <u>[email protected]</u>
the name after the @ symbol is a domain name that represents the administrative realm for the mail box and the part before the @symbol identifies the name of the mailbox.
<u>twrigley(local portion)</u>@ gumchewer.biz(domain)
twrigley is the local portion which indicates to the mail server which mailbox the message is from or to.This portion is only important to gumchewer mail server which is why it is called local.