subject

(7 points) U. S. federal government employees are paid on a scale according to their grade and step. There are a total of 15 grades, each of which contains 10 steps. The table below1 shows annual salaries (in USD) as of 2020 for the first 3 grades and the first 4 steps from each. Write a program named WorkingForTheMan. java that uses the switch statement to determine the salary of a government employee. Your program should allow the user to enter two inputs: the grade and step. It should then display the appropriate salary based on the table above. You need to implement only the first 3 grades and first 4 steps. Include default cases to cover situations where the user enters an invalid grade or step. Do not use any form of the if statement in your program. Hint: This can be done by nesting switch statements! Example program run (underlined parts indicate what the user enters) Enter employee grade: 2 Enter employee step: 4 Salary: $23840 Example program run (underlined parts indicate what the user enters) Enter employee grade: 1 Enter employee step: 5 Error - step must be between 1 and 4 Example program run (underlined parts indicate what the user enters) Enter employee grade: -4 Error - grade must be between 1 and 3

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:10
Can be categorized as popularity, relevancy, and user satisfaction. select one: a. mobile search seo b. ranking factors c. serp d. web analytics
Answers: 1
question
Computers and Technology, 21.06.2019 21:40
Which is a benefit of getting information from a government website? a. the information will be easy to understand. ob. the information will be the most current. oc. the information can be trusted.
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Lakendra finished working on her monthly report. in looking it over, she saw that it had large blocks of white space. what steps could lakendra take to reduce the amount of white space?
Answers: 3
question
Computers and Technology, 24.06.2019 22:00
Icanโ€™t open these when itโ€™s just a comment. someone pls explain why this is happening
Answers: 1
You know the right answer?
(7 points) U. S. federal government employees are paid on a scale according to their grade and step....
Questions
question
Mathematics, 21.12.2020 19:00
question
Mathematics, 21.12.2020 19:00
Questions on the website: 13722363