Using more robots means less human contact which means declining social skills, and heavier dependence on technology. And using more technology is expensive.
Answer:
B) You use parentheses around the data values
Explanation:
It was C) on my end, but the answer is still the same :)
The first one is 0 (0/3=0)
The second one is 3 (3/3=1)
The third one is 2 (6/3=2)
The fourth one is 9 (9/3=3)
Hope this helps you :)
I've seen this problem before, you just need the solution to the 'while' loop, right?
Assuming your variable names are the same as the generic question your while loop should look like this:
while (keepGoing != 'n')
Answer:
#Function for the calculcations needed
function subtotal_gratuity_total(subtotal,gratuity_rate):
gratuity_rate = gratuity_rate/100 #this is assuming the user enters the gratuity as a percentage value (e.g. 15)
gratuity = subtotal*gratuity_rate
total = subtotal+gratuity
return subtotal, gratuity_rate, gratuity, total
#Reading the values the user enters
Output(“Input subtotal”)
input (subtotal)
Output(“Input gratuity rate”)
input (gratuity_rate)
#Calling function we created with the values the user enters as inputs,
#and the 4 values required as outputs
subtotal,gratuity_rate,gratuity, total = subtotal_gratuity_total(subtotal,gratuity_rate)