Design an algorithm using pseudocode that uses a while loop to continue to receive a rating code from the user and uses the if selection structure to check the salesperson rating code (in uppercase only) and then display the corresponding output below. To exit the loop, the user will need to enter the letter ‘Z’ as the rating code and a message "You have exited the program" will be displayed. [12 marks] Rating Code Output A Excellent job! Keep it up! B Awesome! Good job! C Better put more effort! D You are not performing well. F You have failed to achieve the target! Others Invalid rating code. Try again how about this kind of problem? it using the while with character and not numerical
Design an algorithm using pseudocode that uses a while loop to continue to receive a rating
code from the user and uses the if selection structure to check the salesperson rating code
(in uppercase only) and then display the corresponding output below. To exit the loop, the
user will need to enter the letter ‘Z’ as the rating code and a message "You have exited the
program" will be displayed. [12 marks]
Rating Code Output
A Excellent job! Keep it up!
B Awesome! Good job!
C Better put more effort!
D You are not performing well.
F You have failed to achieve the target!
Others Invalid rating code. Try again
how about this kind of problem? it using the while with character and not numerical