A sample OS app that calculates tip