You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
532 B

4 years ago
package open;
public class sizeyunsuan {
public double add(double add1, double add2) {
//<2F>ӷ<EFBFBD>
double result;
result = add1 + add2;
return result;
}
public double subtract(double sub1, double sub2) {
//<2F><><EFBFBD><EFBFBD>
double result;
result = sub1 - sub2;
return result;
}
public double multiply(double mul1, double mul2) {
//<2F>˷<EFBFBD>
double result;
result = mul1 * mul2;
return result;
}
public double divide(double div1, double div2) {
//<2F><><EFBFBD><EFBFBD>
double result;
result = div1 / div2;
return result;
}
}