If Ping buys a sandwich and bottle of juice at that price , his total would be $7.70 in a world without tax. So 10.00-7.70 and his change would be $2.30 :)
But without plugging this into a calculator round the numbers up , $6+$2=$8 leaving him with approximately $2 in change.
You did this correctly :) I'm proud