-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexercise.js
More file actions
35 lines (30 loc) · 1016 Bytes
/
exercise.js
File metadata and controls
35 lines (30 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
BOOLEAN WITH COMPARISON OPERATORS
---------------------------------
Using comparison operators complete the unfinished statements.
The variables should have values that match the expected results.
*/
var studentCount = 16;
var mentorCount = 9;
var moreStudentsThanMentors; // finish this statement
var roomMaxCapacity = 25;
var enoughSpaceInRoom; // finish this statement
var personA = "Daniel";
var personB = "Irina";
var sameName; // finish this statement
/*
DO NOT EDIT BELOW THIS LINE
--------------------------- */
console.log("Are there more students than mentors?", moreStudentsThanMentors);
console.log(
"Is there enough space in the room for all students and mentors?",
enoughSpaceInRoom
);
console.log("Do person A and person B have the the same name?", sameName);
/*
EXPECTED RESULT
---------------
Are there more students than mentors? true
Is there enough space in the room for all students and mentors? true
Do person A and person B have the the same name? false
*/