Required: Take the square root of a negative number!
Solution: If (sum > 200)
sum = sum*(-1);
System.out.println(" sum is " + sum);
srsum = Math.sqrt(sum);
System.out.println(" square root of sum is " + srsum);
Please send questions or suggestions about this web page to beatnic@aset.psu.edu