optparse version of tip calculator