//Compute.java package store; import java.io.IOException; public class Compute { public static int add(int numA,int numB) { return numA+numB; } public static double squareRoot(int num) throws Exception { if(num<0) throw new Exception("InvalidInputException"); double temp,sqrt; sqrt=num/2; temp=0; while(sqrt!=temp) { temp=sqrt; sqrt = (num/temp + temp)/2; } return sqrt; } public static void main(String[] args) throws NumberFormatException, Exception { if(args.length==0) throw new IOException(); try { for(int **0;i