Program to calculate wage in different methods of calculation