Reference no: EM132913
Question
Write down a script that finds the smallest of several nonnegative integers. Suppose that the first value read specifies the number of values to be input from the user.
Modify compound interest program in the attached to repeat its steps for interest rates of 5, 6, 7, 8, 9 and 10 percent. Use a for statement to vary the interest rate. Use a separate table for each rate.
Write down a script that uses a form to get the radius of a circle from the user, and then calls the function circleArea to calculate the area of the circle and show the result in a paragraph on the page.
execute following func-
a) Function celsius returns the Celsius equivalent of a Fahrenheit temperature, using the calculation
C = 5.0 / 9.0 * ( F - 32 );
b) Function fahrenheit returns the Fahrenheit equivalent of a Celsius temperature, using the calculation
F = 9.0 / 5.0 * C + 32;
c) Use these functions to write down a script that enables the user to enter either a Fahrenheit or a Celsius temperature and displays Celsius or Fahrenheit equivalent.
Your HTML5 document must contain two buttons-one to initiate the conversion from Fahrenheit to Celsius and one to initiate conversion from Celsius to Fahrenheit.