ArrayTest4 - // Square root of 100 = 10.000 // Square root...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
public class ArrayTest4 { // Store the square roots of numbers 1-100 in an array. // Then, print out each value to an accuracy of // three decimal places*, such that the output appears as a list, // in descending order e.g.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // Square root of 100 = 10.000 // Square root of 99 = 9.950 // . .. // . .. // Square root of 2 = 1.414 // Square root of 1 = 1.000 / // *using System.out.printf() / }...
View Full Document

This document was uploaded on 04/14/2010.

Ask a homework question - tutors are online