subject

Compare userNumber with compareNumber and display 'Numbers are not equal' if the numbers are different. Then, display 'Variables are not identical' if the variables are not identical (not strictly equal). 1 var compareNumber = 3; // Code will be tested with: 3, 8, 42 2 var userNumber = '3'; // Code will be tested with: '3', 8, 'Hi' 4 if(userNumber se compareNumber){ 5 console. log("Variables are identical"); 6 7 else if(user Number 1 = compareNumber){ 8 console. log("Numbers are not equal"); 9 ] 10 else? 12 } 2 Check Try again X Testing log when compareNumber = 3 and userNumber = "3" Yours and expected differ. See highlights below. Yours Yours has no output Expected variables are not identical X Testing log when compareNumber = 8 and user Number = "9" Yours and expected differ. See highlights below. Yours Variables are identical Expected Expected no output X Testing log when compareNumber = 42 and user Number = "Hi". Yours and expected differ. See highlights below. Special character legend Yours Numbers are not equal Expected Numbers are not equal Variables are not identicale

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:30
You wanted to look up information about alzheimer's, but you were unsure if it was spelled "alsheimer's" or "alzheimer's." which advanced search strategy would be useful? a) a boolean search b) using a wild card in your search c) trying different search engines d) doing a search for "alsheimer's not alzheimer's" asap. ill give brainlist.
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
question
Computers and Technology, 24.06.2019 17:40
When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. this can be done by normalizing to values between 0 and 1, or throwing away outliers. for this program, adjust the values by subtracting the smallest value from all the values. the input begins with an integer indicating the number of integers that follow. ex: if the input is 5 30 50 10 70 65, the output is: 20 40 0 60 55
Answers: 1
question
Computers and Technology, 24.06.2019 17:50
You work in the accounting department and have been using a network drive to post excel workbook files to your file server as you complete them. when you attempt to save a workbook file to the drive, you see the error message: “you do not have access to the folder ‘j: \’. see your administrator for access to this folder.” what should you do first
Answers: 2
You know the right answer?
Compare userNumber with compareNumber and display 'Numbers are not equal' if the numbers are differe...
Questions
question
Mathematics, 11.03.2021 17:10
question
Mathematics, 11.03.2021 17:10
question
English, 11.03.2021 17:10
question
Biology, 11.03.2021 17:10
question
English, 11.03.2021 17:10
question
English, 11.03.2021 17:10
Questions on the website: 13722367