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