Question
Write a java program that displays the salary of a new hire in a software company. The program should read an integer representing the number
Write a java program that displays the salary of a new hire in a software company. The program should read an integer representing the number of years of programming experience and a String corresponding to the degree of the new hire: PhD, MSc or BSc.
The salary is given according to the following table:
Years of Experience >10 5-10 < 5
---------------------------------------------------------------------------------
PhD 80,000 60,000 50,000
MSc 75,000 55,000 45,000
BSc 65,000 50,000 40,000
Sample Input:
Enter the Degree (PhD, MSc or BSc): BSc
Enter the number of years of programming experience: 7
Sample Output (the tuition costs should be presented in the format of the following):
The salary of a new hired employee with a BSc degree and 7 years of work experience will be $55,000.00
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started