class Netpay {
public static void main(String[] args)
{
String units="$";
// Hours worked per week
int h= 40;
// w=Pay per hour, i= deductive insurance, t= tax
double w=5.00, i=2.00, t=0.22;
// formula for total net pay
double net=(h*w-i)-t*(h*w-i);
System.out.println("Your net pay is " +units+ net);
}
}