An application needs to calculate a discount for customers who are either preferred customers or senior citizens. Preferred customers have a discount code of "P". Senior citizens have a discount code of "S". The discount code is stored in the strCode variable. Write an If clause to calculate a discount for all preferred members and senior citizens using the strCode variable.

What will be an ideal response?

If strCode = "P" OrElse strCode = "S" Then

Computer Science & Information Technology

You might also like to view...

Each computer or device on a network is called a(n) ______.

A. node B. transmitter C. module D. receiver

Computer Science & Information Technology

After installing the processor, if the system begins the boot process and suddenly turns off before completing the boot, the processor is most likely overheating.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology