Question: Consider the snippet of code below, then answer the question, if customerAge>18 then if employment = Permanent then if income > 2000 then output You
Consider the snippet of code below, then answer the question,
if customerAge>18 then if employment = "Permanent" then if income > 2000 then output "You can apply for a personal loan"
endif endif
endif
A. If a customer is 19 years old, permanently employed and earns a salary of R6000, what will be the outcome if the snippet of code is executed? Motivate your answer.(2)
B. Using pseudocode, plan the logic for an application that will prompt the user for two values. These values should be added together. After exiting the loop, the total of the two numbers should be displayed. (8)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
