The JavaScript code for the following algorithm is ____.If age >= 65 Then discountRate = 0.10End If
A. if (age >= 65) Then {
discountRate == 0.10;
} end if
B. if (age >= 65) {
discountRate == 0.10
} end if
C. if (age >= 65) Then {
discountRate = 0.10;
}
D. if (age >= 65) {
discountRate = 0.10;
}
Answer: D
Computer Science & Information Technology
You might also like to view...
The space between the border and the content of an element on a Web page is referred to as:
A) padding. B) spacing. C) margin. D) white space.
Computer Science & Information Technology
What is the main purpose of a local prototype?
What will be an ideal response?
Computer Science & Information Technology