Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What would be the displayed as the increased monthly salary in the following pseudocode if the user enters the department as D and the annual

What would be the displayed as the increased monthly salary in the following pseudocode if the user enters the department as D and the annual salary as 50000?
if anSalary is numberic then
monSalary = anSalary /12
if deptCode =A then
monSalary = monSalary + monSalary *0.072
else
if deptCode =B then
monSalary = monSalary + monSalary *0.068
else
monSalary = monSalary + monSalary *0.063
endif
endif
display The increased monthly salary is R, monSalary
else
display The annual salary must be numeric.
endif
a.
The increased monthly salary is R4429.17
b.
The annual salary must be numeric.
c.
The increased monthly salary is R53150.00
d.
The increased monthly salary is R4450.00

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions