if you replace the question mark from the image by the y values from the rows and run the code, you can see an alert messagebox containing a message. Determine the output of this code given the y from the row values hello! Good Morning God Bless! y=5 y=9 y=1 y=3 y- 10 O O

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter15: Using Javafx And Scene Builder
Section: Chapter Questions
Problem 1GZ
icon
Related questions
Question
100%
if you replace the question mark from the image by the y values from the rows
and run the code, you can see an alert messagebox containing a message.
Determine the output of this code given the y from the row values
<script>
y- ?;
x - (100ky)+(y/3);
if (x<2)
alert("hello!");
if(x>2)
alert("Good Morning!");
if(x2)
alert("God Bless!");
</script>
hello!
Good Morning!
God Bless!
y = 5
y = 9
y= 1
y=3
y- 10
Transcribed Image Text:if you replace the question mark from the image by the y values from the rows and run the code, you can see an alert messagebox containing a message. Determine the output of this code given the y from the row values <script> y- ?; x - (100ky)+(y/3); if (x<2) alert("hello!"); if(x>2) alert("Good Morning!"); if(x2) alert("God Bless!"); </script> hello! Good Morning! God Bless! y = 5 y = 9 y= 1 y=3 y- 10
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Image Element
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT