subject

Code Example 5-1 1. var getResult = function() { 2. var num1 = 54.95; 3. var num2 = .1; 4. var result = parseFloat(prompt("What is " + num1 + " * " + num2 + "?")); 5. if (result != (num1 * num2)) { 6. alert("Incorrect"); 7. } 8. else { 9. alert("Correct!"); 10. } 11. }; (Refer to Code Example 5-1) Why would "Incorrect" be displayed if the user entered 5.495 when prompted by this code?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 16:00
Helen is having a meeting with her colleagues in her company. they are working on the goals and objectives for the coming year. they want to ensure that these goals and objectives of the processes involved are properly evaluated. which system can helen and her colleagues apply to evaluate this? helen and her colleagues require a blank to evaluate the goals and objectives.
Answers: 2
question
Computers and Technology, 24.06.2019 03:00
Will do anything for brainlest so can you guys me out i will try my best to you out
Answers: 1
question
Computers and Technology, 24.06.2019 09:10
  to change the number of rows and columns displayed by the excel object a. select the object and drag a size handle on the active object. b. deselect the object and drag a size handle of the object. c. deselect the object and drag a row or column divider of the object. d. select the object and drag a row or column divider on the active object.
Answers: 2
question
Computers and Technology, 24.06.2019 13:30
To move an excel worksheet tab, simply right-click on it drag and drop it double-click on it delete it
Answers: 1
You know the right answer?
Code Example 5-1 1. var getResult = function() { 2. var num1 = 54.95; 3. var num2 = .1; 4. var resul...
Questions
question
Mathematics, 10.01.2020 09:31
question
History, 10.01.2020 09:31
question
Mathematics, 10.01.2020 09:31
question
Mathematics, 10.01.2020 09:31
Questions on the website: 13722367