PrepAway - Latest Free Exam Questions & Answers

How should you write the code?

HOTSPOT
You are developing an online shopping application that accepts credit cards for payment.
If the credit card number is invalid, the application must:
Generate an error
Assign “200” to the error number
Assign “Invalid” to the error description
You need to write the code that meets the requirements.
How should you write the code? (To answer, select the appropriate option from the drop-down list in the answer area.)

A.

15 Comments on “How should you write the code?

  1. clem says:

    you must make (200, “error”), this is for IE. For all other browsers it’s (“error, 200) but because it’s microsoft’s exam I suggest to use the IE’s one 🙂




    0



    0

Leave a Reply