12 lines
226 B
Java
12 lines
226 B
Java
public class TestArithmetic {
|
|
public int basic(int a, int b, int c)
|
|
{
|
|
return a + b - c * a / b % c;
|
|
}
|
|
|
|
public boolean logic(boolean a, boolean b, boolean c)
|
|
{
|
|
return !a && (c || b);
|
|
}
|
|
}
|