Question: Briefly explain difference between an instance variable and a local variable. 2. Briefly explain the math class in Java. 3. create a java program to

 Briefly explain difference between an instance variable and a local variable. 2. Briefly explain the math class in Java. 3. create a java program to implement a part of a payroll system, that will display the information about employees and payments. a) Prompt the user to enter the name of the employee b) Prompt the user to enter the employee ID c) Prompt the user to select between full-time and part-time d) If the employee is working full-time, display the following options for the user Full-Time Employee Company Experience 1. Less than 1 year 2. 1 - 2 years 3. 2 - 3 years 4. More than 3 years Enter Your Option: [ Option 1: Rs .30 000, Option 2: Rs. 45 000, Option 3: Rs.60 000, Option 4: Rs.70 000] e. Display an error message for an invalid option number f. If the employee is working part-time, 1. Prompt the user to enter the rate per hour 2. Prompt the user to enter the number of working hours and overtime hours [ Company pays 110% for extra overtime hour] g. The company rate per hour should be between Rs. 500 - Rs.1000. Display an error message for invalid rates. h. Display the employee's name, employee ID, and employee's monthly salary

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Id be glad to provide a response that combines the strengths of previous responses addresses potential shortcomings and incorporates insights from the ... View full answer

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 Programming Questions!