MiniJavaCompiler/Test/JavaSources/TestArithmetic.java

12 lines
226 B
Java
Raw Normal View History

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