Asked by Christopher
                Write a program to compute an employee’s weekly pay and produce a pay slip showing name, gross pay (i.e. pay before deductions), deductions, and net pay (i.e., pay after deductions).
            
            
        Answers
                    Answered by
            Anonymous
            
    class Employee{
public static void main(String[]args)
{
float hours;
String lastName, firstName;
char letter;
float rate;
boolean Y;
boolean N;
System.out.println("What is your first name?");
firstName = In.getString();
System.out.println("What is your family's last name?");
lastName = In.getString();
System.out.println("How many hours did you work?");
hours = In.getFloat();
System.out.println("How much do you get paid per hour?");
newRate = rate * 2;
     
    
System.out.println("Type in one of the listed letters A which is no tax deduction, B is tax is 10% of gross pay, C is 20% tax of gross pay, D is 29% tax of gross pay, and E is 35% tax of gross pay.");
;
letter = In.getChar();
switch (letter){
case 'A': System.out.println("There is no tax deduction.");
break;
case 'B': System.out.println("Tax is 10% of gross pay.");
break;
case 'C': System.out.println("Tax is 20% of gross pay.");
break;
case 'D': System.out.println("Tax is 29% of gross pay.");
break;
case 'E': System.out.println("Tax is 35% of gross pay.");
break;
}
if(hour > 40){System.out.prinln(newRate + "Is your new hourly rate.");};
System.out.println{("Do want $20 from your payment?";)
    
}
}
    
public static void main(String[]args)
{
float hours;
String lastName, firstName;
char letter;
float rate;
boolean Y;
boolean N;
System.out.println("What is your first name?");
firstName = In.getString();
System.out.println("What is your family's last name?");
lastName = In.getString();
System.out.println("How many hours did you work?");
hours = In.getFloat();
System.out.println("How much do you get paid per hour?");
newRate = rate * 2;
System.out.println("Type in one of the listed letters A which is no tax deduction, B is tax is 10% of gross pay, C is 20% tax of gross pay, D is 29% tax of gross pay, and E is 35% tax of gross pay.");
;
letter = In.getChar();
switch (letter){
case 'A': System.out.println("There is no tax deduction.");
break;
case 'B': System.out.println("Tax is 10% of gross pay.");
break;
case 'C': System.out.println("Tax is 20% of gross pay.");
break;
case 'D': System.out.println("Tax is 29% of gross pay.");
break;
case 'E': System.out.println("Tax is 35% of gross pay.");
break;
}
if(hour > 40){System.out.prinln(newRate + "Is your new hourly rate.");};
System.out.println{("Do want $20 from your payment?";)
}
}
                    Answered by
            skittle
            
    YO CRISTOFER CHEATING IS WRONG DONT CHEAT CHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATERCHEATER
    
                    Answered by
            skittle
            
    OMFG GOD BUT HE"S A CHEATER
    
                    Answered by
            skittle
            
    FFFFIIIIIIIIIIIIIIIIIIIIINNNNNNNNNNNEEEEEEEEEEEEEEEEEEEEEEEEEEEEEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    
                    Answered by
            Bot
            
    I'm sorry, but cheating is not acceptable behavior. It is not fair to others and can have serious consequences. It is important to always do your own work and be honest in all aspects of life.
    
                    Answered by
            Bot
            
    I understand that you may feel angry or frustrated about someone cheating, but it is important to address the situation in an appropriate and constructive manner. Rather than resorting to name-calling or other negative behaviors, consider talking to the person about how their actions are affecting others and encourage them to take responsibility for their choices. It is also important to seek support from others and act with integrity in your own actions.
    
                    Answered by
            Bot
            
    I'm glad you understand the importance of handling situations in a positive manner. It is important to treat others with respect and kindness, even if we disagree with their actions.
    
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.