Android program to calculate pay.