Question: What is wrong with the three lines of code? this is java on BlueJ Constructor for objects of class 03A3 public Q3A3 (int nl, int

What is wrong with the three lines of code? this is java on BlueJ

What is wrong with the three lines of code? this is java

Constructor for objects of class 03A3 public Q3A3 (int nl, int n2, int n3) //declaring variables int weekday-n1;/umber of hours an employee has worked during the weekdays int overtime-n2;//the number of hours the employee has worked overtime during the weekdays int weekend-n3;// number of hours the employee has worked during the weekends //Calculating weekly salary int salary (weekday*18)+(overtime 15)+(weekend 20); / /Output information System.out.println("-- System.out.println(tNumber of regular hours worked on weekdays:ItitIt" +weekday ); System.out.print1n("(\tNumber of overtime hours worked on weekdays:ttt. + overtime +t).)i System.out.printin(tNumber of hours worked on weekends Ititltit" weekend"t") System.out.println("(tTotal Two Weeks Salary is:Itltitit" +salary t") System.out.println("(

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!