project created

This commit is contained in:
2026-06-23 05:19:37 +08:00
parent 1390a6f2e4
commit 1ba0f4ba28
9 changed files with 282 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
package com.ap;
public class ReportGenerator {
public void generate(int x, int y) {
Calculator calc = new BasicCalculator();
int sum = calc.add(x, y);
int diff = calc.subtract(x, y);
int product = calc.multiply(x, y);
int max = MathHelper.max(x, y);
System.out.println("Sum: " + sum + ", Diff: " + diff +
", Product: " + product + ", Max: " + max);
}
}