Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

i need help

Name: Anonymous 2010-10-17 3:13

hey /g/uy's i need a little help with this code for my coding class
java. I dont know the code to be able to type in a persons name
i need to input a person's name then be able to press enter and input a numbe

import java.util.Scanner;

public class Taxes{
public static void main(String[] args){
double net;
Scanner input = new Scanner(System.in);
System.out.println("Enter employee name: ");
System.out.println("Enter employee gross pay: ");
name = input.nextDouble();

final double fed = grossPay * .15;
final double state = grossPay * .035;
final double social = grossPay * .0575;
final double medicare = grossPay * .0275;
final double pension = grossPay * .05;
final double health = 75.00;

net = grossPay - fed - state - social - medicare - pension - health;

System.out.println("\t Gross Amount: " + grossPay + "\n" +
"\t Federal Tax: " + fed + "\n" +
"\t State Tax: " + state + "\n" +
"\t Social Security Tax: " + social + "\n" +
"\t Medicare/Medicaid Tax: " + medicare + "\n" +
"\t Pension Plan: " + pension + "\n" +
"\t Health Insurance: $" + 75 + "\n" +
"\t Net Pay: $" + net + "\n");
}
}

Name: Anonymous 2010-10-17 3:35

hey /g/uy's i need a little help...
/g/ is that way --->
...and you should go there now ``faggot''

Name: Anonymous 2010-10-17 3:35

hey /g/uy's i need a little help...
/g/ is that way --->
...and you should go there now ``faggot''

Name: Anonymous 2010-10-17 3:37

pouble dost, my bad

Name: Anonymous 2010-10-17 3:40

/g/ sent me here.......... please help

Name: Anonymous 2010-10-17 3:53

>>7
Haha. Perhaps we refuse to help you because you're a cretin who thought that your shitty imageboard habits would be acceptable here.

Name: Anonymous 2010-10-17 4:00

>>9
1. [code] tags.
2. sage
3. Stop typing like a 13 y/o on a chat.

Name: Anonymous 2010-10-17 4:31

>>11
noko

Back to imageboards, ``faggot''

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List