package task2_3;

public class Calculator{
	 double a=2.5;
	 double b=5.1;
	 double result;
	
		public void plus (double a, double b){
			this.result=a+b;
		}
		
		public void minus (double a, double b){
			this.result=a-b;
		}
		
		public void multiply (double a, double b){
			this.result=a*b;
		}
		
		public void devide (double a, double b){
			if (b==0) throw new ArithmeticException("devide by null error"); 
				
			else this.result=a/b;
		}
		
		/*public void getResult (double result){
			System.out.println(result);
		} */
}


@@ -451,86 +451,8 @@
 %09%0A%09%09
-/*public void getResult (double result)%7B%0A%09%09%09System.out.println(result);%0A%09%09%7D */
 %0A%7D%0A%0A

delete comments in java files