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.
Answer: <em>B. read the warning labels</em>
Answer:
public static void PrintShampooInstructions(int numberOfCycles){
if (numberOfCycles<1){
System.out.println("Too Few");
}
else if(numberOfCycles>4){
System.out.println("Too many");
}
else
for(int i = 1; i<=numberOfCycles; i++){
System.out.println(i +": Lather and rinse");
}
System.out.println("Done");
}
Explanation:
I have used Java Programming language to solve this
Use if...elseif and else statement to determine and print "Too Few" or "Too Many".
If within range use a for loop to print the number of times
Answer:
First of all the team should excuse to the product owner for not being responsible and committed to the deadline.
Secondly, as they have completed the 8 stories, so they should revise and check the flaws in those stories and send to her.
Because when the product owner will check and happy with them, she will surely discuss the remaining stories with the team.