Array6 - import import import import import import i import

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

View Full Document Right Arrow Icon
import java.util.Scanner; import java.lang.*; import java.io.*; import java.text.*; import java.math.*; import java.text.DecimalFormat; import java.lang.String; i public class Array6 { 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,Temp; static int d; static char ch; static int j,i,min,n=1; public static void main (String[] args) throws FileNotFoundException { Scanner inFile = new Scanner(new FileReader("e:\\payme.txt")); double Temp1; String [] ss = new String[15]; String[] name = new String[15]; String[] name2 = new String[15]; double[] hr = new double[15]; double[] Hw = new double[15]; double []ovr=new double[15]; double []gr=new double[15]; double []ded=new double[15]; double []net=new double[15]; //Scanner //Scanner Scanner Console = new Scanner(System.in); // Loop for(int i=1; i < 15; i++) { // input and stores it in variable name ss[i] = inFile.next(); name[i] = inFile.next(); name2[i] = inFile.next(); hr[i] = inFile.nextDouble();
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.

This note was uploaded on 06/17/2011 for the course COMP 2302 taught by Professor Staff during the Spring '11 term at Kennesaw.

Page1 / 2

Array6 - import import import import import import i 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