Ask Question

What will the browser display if the following script is executed and the user enters 5 at both prompts? a) nothingb) 0c) 10d) 55d) 556.9 Whenever a value is pl

+4
Answers (1)
  1. 8 September, 17:22
    0
    c) 10.

    Explanation:

    The script will return 10 after the user enters 5 at both prompts. In the script we have three variables firstNumber, secondNumberand thirdNumber. Where the user is entering the values in the firstNumber and the secondNumber and thirdNumber stores the sum of firsNumber and secondNumber and after that it writes on the web page using the document. write.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What will the browser display if the following script is executed and the user enters 5 at both prompts? a) nothingb) 0c) 10d) 55d) 556.9 ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers