Page 1 of 1

When an exact match not found when using the select case statement, the statement(s) in the case else clause, if present

Posted: Sun Jul 10, 2022 11:23 am
by answerhappygod
When An Exact Match Not Found When Using The Select Case Statement The Statement S In The Case Else Clause If Present 1
When An Exact Match Not Found When Using The Select Case Statement The Statement S In The Case Else Clause If Present 1 (8.41 KiB) Viewed 67 times
When an exact match not found when using the select case statement, the statement(s) in the case else clause, if present, will be processed. Select one: O True O False Question 37 Not yet answered Marked out of 1.00 Flag question
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 200002 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 monSalary = monSalary + monSalary * 0.063 else endif endif display "The increased monthly salary is R", monSalary else display "The annual salary must be numeric." endif Select one: O a. The increased monthly salary is R1786.67 O b. The annual salary must be numeric. O c. The increased monthly salary is R2144.00 O d. The increased monthly salary is R21440.00 Question 40 Not yet answered Marked out of 1.00 Flag question