Question: Write a complete webpage with JavaScript embedded at document level that 1) Read three positive integers from the user using prompt0 function. You may need

 Write a complete webpage with JavaScript embedded at document level that

Write a complete webpage with JavaScript embedded at document level that 1) Read three positive integers from the user using prompt0 function. You may need use parselnt0 or Number) to convert a string to an integer. 2) Calculate the maximum, the minimum, and the average of above four integers and save them into three variables. 3) Use innerHTML, document.write0, window.alert0 to print the maximum, the minimum, and the average e respectively. 1) Each output statement must be used at least once 2) No library function can be used

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!