Please complete the following 3 exercises and submit ONE Zip of all the files listed:

 
Exercise  9.7:    Write a script that uses a form to get the radius of a circle from the user, then calls the function circleArea to calculate the area of the circle and display the result in a paragraph on the page.  To get the number from the form, use the techniques shown in Self-Review Exercise 9.6. Please submit one html file that combines your javascript and html into one file and call it ex09_7.html.

Exercise  9.15:    Write a script that inputs integers (one at a time) and passes them one at a time to function isEven, which uses the modulus operator to determine whether an integer is even.  The function should take an integer argument and return true if the integer is even and false otherwise.   Use sentinel-controlled looping and a prompt dialog. Please submit one html file that combines your javascript and html into one file and call it ex09_15.html.

Exercise 10.12:   Use a one-dimensional array to solve the following problem: Read in 10 numbers, each of which is between 10 and 100. As each number is read, print it only if it's not a duplicate of a number that has already been read. Provide for the "worst" case, in which all 10 numbers are different. Use the smallest possible array to solve this problem.  Please save your javascript in the file ex10_12.js, your html file as ex10_12.html and your css as style.css.

    • 11 years ago
    internet application
    NOT RATED

    Purchase the answer to view it

    • java.zip