(Solved) : Write Script Uses Looping Print Following Table First Column Lists Radii Circles 1 15 Cm S Q37273868 . . .
Write a script that uses looping to print the following table.The first column lists the radii of circles from 1 to 15 cm, whilethe second column lists the calculated perimeters of the circles.Use the following formula in a user-defined JavaScript function,“findPerimeter” to calculate the perimeters: perimeter = 2 *Math.PI * radius; Also, apply an external CSS stylesheet to formatthe table as shown in the figure. The table should have a width of250 pixels and a 1-pixel thick black border. The table headershould have white text in a darkblue background. For the table bodyrows, use black text and apply background colors that alternatewith a period of three rows between: #ffffff, #eeeeff, and #ddddff.[Hint: use method toFixed(n) of class Number to round up to ndecimal places].
Expert Answer
Answer to Write a script that uses looping to print the following table. The first column lists the radii of circles from 1 to 15 …
OR