The following JavaScript code is a repetition statement.
if (age >= 18 && age <= 65) {
document.write("The age is between 18 and 65." + BR);
}
Correct Answer:
Verified
Q12: A decision table is usually converted into
Q13: In JavaScript, the And operator is &.
Q14: In JavaScript, the Or operator is //.
Q15: In JavaScript, the Not operator is ||.
Q16: Conditions in JavaScript are enclosed in parentheses.
Q18: When two conditions joined by the logical
Q19: If you have statistics on the expected
Q20: In the following pseudocode, if any of
Q21: Logical operations have a specified order of
Q22: In JavaScript, the Or operator takes precedence
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents