Caroline is at a stores checkout counter. Shed like to pay for her purchase using either her

Question:

Caroline is at a store’s checkout counter. She’d like to pay for her purchase using either her credit card or her debit card, but preferably her credit card. However, she is not sure whether the store accepts either card. If the store doesn’t accept either card, she will need to pay cash for the items. Write an appropriate algorithm using only the instructions listed in Figure 5-32. (An instruction can be used more than once.)

else end if pay for your items using your credit card pay for your items using your debit card pay for your items using cash if the store accepts your credit card if the store accepts your debit card ask the store clerk whether the store accepts your credit card

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: