Untitled
unknown
java
3 years ago
333 B
13
Indexable
public class Calculator
{
public int dot(int x, int y){
return x * y;
}
public int add(int x, int y){
add_rs = x + y;
return rs;
}
public int divide(float a, float b){
result = a/b;
return result;
}
public String nothing(){
return "nothing";
}
}Editor is loading...