public static void sumOfSquareRoots() {
Scanner scan = new Scanner( System.in );
double value;
// read in a double
System.out.print ("Enter a double:");
value = scan.nextDouble();
// calculate its square root
double result = Math.sqrt( value );
// write out the result
System.out.println("square root of your number is " + result );
System.out.println("The sum of square root of numbers is"+result);
}
"This calculates the square root of a given number how do I add multiple numbers and add the sum of the square roots ?