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;
}
1
Expert's answer
2018-04-30T07:59:08-0400
let odd = 7; let even = 20; let greaterThan; if(odd >19 && even>19){ greaterThan = true; } else { greaterThan = false; }
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment