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 A and the annual

What would be the displayed as the increased monthly salary in the following pseudocode if the user enters the department as A and the annual salary as 20000?
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 R1786.67
b.
The annual salary must be numeric.
c.
The increased monthly salary is R2144.00
d.
The increased monthly salary is R21440.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

Expert Oracle9i Database Administration

Authors: Sam R. Alapati

1st Edition

1590590228, 978-1590590225

More Books

Students also viewed these Databases questions

Question

Th e last time I complained, nothing happened.

Answered: 1 week ago

Question

Th ey could have made my situation worse.

Answered: 1 week ago