tip calculator version 3 with percentage calc method