/*
*This program calculates the net pay for an employee
*given the set variables
*
*/
class Main
{
public static void main(String[]args)
{
//determine variables
int h;
double w, i, n, t;
//give variables a value
h=40;
w=5.00;
i=2.00;
t=0.22;
//calculations
n=(h*w-i)-t*(h*w-i);
//print output
System.out.println("Therefore the net pay for an employee is $"+n+" after calculating with n=(h*w-i)-t*(h*w-i).");
}
}