code to calculate tip for meal at restaurant