subject

When this function is called, the smaller of two numbers is displayed. What Boolean expression would not work in line 12 in order to accomplish this goal? 1 var num1 = 5;
2 var num2 = 7;
3 smallest();
4
5 num1 = 8;
6 num2 = 4;
7 smallest();
8
9 function smallest() {
10 console. log("What is smallest? " + num1 + " or " + num2 + "?");
11
12 if ( ) {
13 console. log(num1 + " is the smallest.");
14 } else {
15 console. log(num2 + " is the smallest.");
16 }
17 }

a) num1 < num2 && num2 > num1

b) num2 > num1

c) num1 == num2

d) num1 < num2

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
Wich technology can a website use to allow you to listen to a concert live over the internet?
Answers: 3
question
Computers and Technology, 22.06.2019 11:30
To hide gridline when you display or print a worksheet
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
The graph shows median weekly earnings for full-time workers according to education level. which can you not conclude?
Answers: 2
question
Computers and Technology, 23.06.2019 07:50
Apython programming question: assume s is a string of lower case characters. write a program that prints the number of times the string 'bob' occurs in s. for example, if s = 'azcbobobegghakl', then your program should print number of times bob occurs is: 2
Answers: 3
You know the right answer?
When this function is called, the smaller of two numbers is displayed. What Boolean expression would...
Questions
question
Mathematics, 20.02.2021 02:00
question
History, 20.02.2021 02:00
question
Chemistry, 20.02.2021 02:10
question
Biology, 20.02.2021 02:10
Questions on the website: 13722367