package ru.agolovin;

public class Calculate{
	public double result;
	public double getResult(){
		return this.result;
	}

	public void add(double first, double second) {
		this.result = first + second;
	}

	public void substruct(double first, double second) {
		this.result = first - second;
	}

	public void div(double first, double second) {
		this.result = first / second;
	}

	public void multiple(double first, double second) {
		this.result = first * second;
	}

}

add task 3