This topic contains a solution. Click here to go to the answer

Author Question: What would the browser display if the following script is executed? var count = 0, total = 0; while ... (Read 57 times)

bobthebuilder

  • Hero Member
  • *****
  • Posts: 567
What would the browser display if the following script is executed?
 
  a) Nothing, the browser would generate an error.
  b) 0
  c) 50
  d) 60

Question 2

What would the browser display if the following code was executed in a script? var product = 0; while ( product <= 25 ); product = 2 + product;
 
  a) nothing, the script would result in an error
  b) 0
  c) 25
  d) 26



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

1_Step_At_ATime

  • Sr. Member
  • ****
  • Posts: 342
Answer to Question 1

Ans: (d)

Answer to Question 2

Ans: (a)




bobthebuilder

  • Member
  • Posts: 567
Reply 2 on: Jul 7, 2018
Wow, this really help


steff9894

  • Member
  • Posts: 337
Reply 3 on: Yesterday
Excellent

 

Did you know?

Green tea is able to stop the scent of garlic or onion from causing bad breath.

Did you know?

Human stomach acid is strong enough to dissolve small pieces of metal such as razor blades or staples.

Did you know?

Egg cells are about the size of a grain of sand. They are formed inside of a female's ovaries before she is even born.

Did you know?

Everyone has one nostril that is larger than the other.

Did you know?

Oxytocin is recommended only for pregnancies that have a medical reason for inducing labor (such as eclampsia) and is not recommended for elective procedures or for making the birthing process more convenient.

For a complete list of videos, visit our video library