Answer:
- def splitTip(totalCost, numGuest):
- finalCost = totalCost * 0.15 + totalCost
- avgCost = finalCost / numGuest
- for i in range(numGuest):
- print("Guest " + str(i+1) + ": $" + str(round(avgCost,2)))
-
- splitTip(15.16,3)
Explanation:
The solution is written in Python 3.
To calculate the average cost shared by the guests, we create a function that takes two input, totalCost and numGuest (Line 1). Next apply the calculation formula to calculate the final cost after adding the 15% tips (Line 2). Next calculate the average cost shared by each guest by dividing the final cost by number of guest (Line 3). At last, use a for loop to print out the cost borne by each guest (Line 4-5).
Answer:
In the country of Gnut
The universal health insurance program that is likely to better allow Gnuti citizens to smooth consumption is:
program Y that would pay only for catastrophic illnesses and injuries.
Explanation:
Program Y is a better option for Gnuti citizens to smooth consumption. The reason is that catastrophic injuries and illnesses already account for two-thirds of the total health care costs in the country. These injuries and illnesses cost more income variability to the citizens than other health care expenses. With the government sponsoring program Y, the citizens will be insulated from consumption patterns caused by income variability. Consumption smoothing creates the needed balance between spending and saving during the different life phases for the citizens of Gnut.
The answer is Sega, the Pico is also known as the Sega Pico.
Answer:
to create a program that a customer can launch in their web browser
Explanation:
They would use it for language based websites, and translate certain information when they don't know the text. Hope that helps.
I say that it must be blanding options will be the correct answer to chose.Welcome