CIS 155 CIS155 Week 4 Quiz Answers
(TCOs 4, 8) Assume you are given the following If structure.
Assume that X = 20, Y = 10, and Z = 5. What will be the output?
- (TCOs 4, 8) Assume you are given the following If structure.
Assume that R = 7, S = 7, and T = 11. What will be the output?
(TCOs 4, 8) Employees at a certain company get a bonus at the end of the year based on years of service. The bonus is a percentage of their annual salary determined as follows.
Less than 5 years 2%
5 to 9 years 4%
10 to 19 years 7%
20 years or more 12%
Write a pseudocode algorithm that will input the years employed and the salary, and will calculate and print the bonus rate and bonus amount. Use structured pseudocode as demonstrated in the lectures for code, ensure that all variables are declared, prompt the user for the appropriate input, and display a meaningful output message. Make sure that the years and salary are both greater than 0.
We Also Recommend
"Applying Skills Learned" Please respond to the following- From the e-Activity, explain what you learned about the Website you selected
(TCO 3) Managers are often required to make decisions about the future based