subject

1 var age
var day
15
"Sunday"
2
3
4 if( (age > 15 ) &&
(day
"Friday")
5
console. log("Output A"
6 } else if ( (age 15) || (day -- "Friday") DA
7 console. log("Output B":
8 } else if ( (age < 15) && (day "Sunday"))
9 console. log("Output C");
10 } else if ( (age < 15) II (day "Sunday")){
11 console. log("Output D");
12 } else {
console. log( "Output E");
14 }
13
What text will be output by the program?

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:40
Hello my name is mihai and i need your : )i have to do a python project in computer science and i’m really busy with my mocks this period of time besides this i’m not good at coding so could someone pls pls pls sort me out ? i actually beg ; ))
Answers: 1
question
Computers and Technology, 22.06.2019 05:10
Read the code below. what will the computer print if the input for year_variable is 1700? if year_variable == 1776: print("your answer is correct. the declaration of independence was signed in “year_variable”.") elif year_variable < 1776: compute_variable = 1776 - year_variable. print("add “compute_variable“ years to your answer for the correct answer.") elif year_variable > 1776: compute_variable = year_variable - 1776 print("subtract “compute_variable” years from your answer for the correct answer.")
Answers: 1
question
Computers and Technology, 22.06.2019 10:00
Jackson is teaching the decimal number system. he wants his students to know how to expand numbers by powers of 10. which is the correct order in which digits are assigned values in the decimal number system?
Answers: 1
question
Computers and Technology, 22.06.2019 12:40
The most complicated four letter word
Answers: 1
You know the right answer?
1 var age
var day
15
"Sunday"
2
3
4 if( (age > 15 ) &&am...
Questions
Questions on the website: 13722363