If someone can explain my homework to me I’ll mark you as brainlist

Answer:
$47.98
Step-by-step explanation:
Tip is 7.996
We need to get this down to the nearest penny or the hundreths meaning 2 decimal digits, so we decide do we round up or down if it is above 5 then up so we round up, since it is 7.99+0.01 that is 8 dollars.
they are asking how much was the total bill meaning the tip+resturant bill.
So now we do 39.98+8 and that is 47.98
Sorry for the wait took a while to fully explain, have a great day!