Program8b - import java.text import java.util.Scanner...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.text.*; import java.util.Scanner; import java.lang.*; import java.math.*; import*; import java.lang.String; //Jeremy Debruce // 11/21/07 // Program 8b / public class Program8b { //Declares Variables global static double fed=0.18,st=0.045,hos=25.65,un=7.85,hr,hw,ovr,gr,ded,net; static String ss,ss2,name,name2; static int d; static char ch; public static void main(String[] args) throws FileNotFoundException, IOException { // purpose of the program System.out.println("****************************************************") ; System.out.println("*The purpose of the program is to calculate payroll*"); System.out.println("*for The Natural Pine Furniture Comp. figuring in: *"); System.out.println("*Fed.and State Withholding Tax Rate,Hospitalization*"); System.out.println("*Union Dues;Using selection statements &Menu Driven*"); System.out.println("****************************************************") ; System.out.println(); Scanner Console = new Scanner(; do { //Menu of choices System.out.println(); System.out.println("Please choose from the Menu"); System.out.println(); System.out.println("***************************");
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

Program8b - import java.text import java.util.Scanner...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online