Which of the below is the correct syntax for exectuing some code if "amt" is equal to 5000?
Answer options
A
if (amt == 5000)
B
<div>
C
<span>
D
<section>
Correct answer: if (amt == 5000)
Explanation
The correct answer is: if (amt == 5000).
Correct answer: if (amt == 5000)
The correct answer is: if (amt == 5000).
PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.