2024-06-21 06:07:20 +00:00
|
|
|
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)
|
|
|
|
{
|
2024-06-21 06:49:55 +00:00
|
|
|
return !a && (c || b);
|
2024-06-21 06:07:20 +00:00
|
|
|
}
|
|
|
|
}
|