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
You might also like to view...
?The _____ of a project includes all the capital, expenses, and internal cross-charges associated with the project's buildings, operation, maintenance, and support.
Fill in the blank(s) with the appropriate word(s).
In a Gantt chart, the length of the bar corresponds to the importance of the task.
Answer the following statement true (T) or false (F)
The Alice Tools menu contains three options: ____.
A. Tutorials, Example Worlds, and About Alice B. Tutorial, Recent Worlds, and Templates C. World window, Object tree, and Details D. Text Output, Error Console, and World Statistics
The title bar and top portion of the ____ tab in a printer's properties show the name of the printer.
A. Sharing B. General C. Ports D. Advanced