65 842
Assignments Done
99,1%
Successfully Done
In October 2018

Answer to Question #76714 in AJAX | JavaScript | HTML | PHP for Kristy

Question #76714
Trying to code this but not working what am I missing
Using the logical operator for AND, fill in the if statement to check if even and odd are greater than 19.

let odd = 7;
let even = 20;
let greaterThan;
if(){
greaterThan = true;
} else {
greaterThan = false;
}
Expert's answer
let odd = 7;
let even = 20;
let greaterThan;
if(odd >19 && even>19){
greaterThan = true;
} else {
greaterThan = false;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions