Program8 - import java.io.*; import java.text.*; import...

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

View Full Document Right Arrow Icon
import java.io.*; import java.text.*; import java.util.Scanner; import java.lang.*; import java.math.*; import java.lang.String; import java.io.*; //Jeremy Debruce // 11/21/07 // Program 8 / public class Program8 { //Declaring 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. using various*"); System.out.println("* selection statements *"); System.out.println("****************************************************") ; System.out.println(); // Scanner Scanner Console = new Scanner(System.in); do { //Menu of choices System.out.println(); System.out.println("Please choose from the Menu"); System.out.println(); System.out.println("***************************"); System.out.println("* Menu *"); System.out.println("***************************"); System.out.println("* A. Display Individual *"); System.out.println("* B. Display all Employees*"); System.out.println("* E. Exit
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 / 4

Program8 - import java.io.*; import java.text.*; import...

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