Question: let input = window.prompt ( Enter a number: ) ; let number = parseFloat ( input ) ; if ( number = = =
let input window.promptEnter a number:";
let number parseFloatinput;
if number
window.alertThats not a valid number!";
else
window.alertThe square of your number is: number number;
Assuming the user enters what will be the output of the code above?
Error
The square of your number is:
The square of your number is:
That's not a valid number!
The square of your number is:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
