subject

Considering the following code segment:
if(x> y) {
y=x;
}
else if (x == y){
x=1000;
}
else{
y =100;
}
alert ( 'x=' + x + ', y = '+y);
given x=0 and y=5, what will be displayed?
x=0, y=5
x=0, y=100
x=1000, y=100
x=0, y=0

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:30
After you clean an engine with hot water spray, it seems to stall; when it doesn't stall, it's idling noisily. technician a says to check for loose bolts on the flex plate near the torque converter. technician b says to wipe down the spark plug wires and the distributor cap. who is correct? a. technician a b. both technicians a and b c. technician b
Answers: 1
question
Computers and Technology, 24.06.2019 07:40
What type of multimedia are live news feeds? live news feeds are examples of multimedia.
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
In three to five sentences, describe how you can organize written information logically and sequentially
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?
Considering the following code segment:
if(x> y) {
y=x;
}
else if (x ==...
Questions
question
Mathematics, 25.07.2020 23:01