MiniJavaCompiler/Test/JavaSources/TestArithmetic.java
2024-06-21 08:49:55 +02:00

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);
}
}