Practice excercise for a tip calculator