Lab Tasks Spring 2025
Lab Tasks Spring 2025
**Spring 2025**
class AveragePurchase {
private double[] purchases;
public AveragePurchase(int n) {
purchases = new double[n];
}
```
class BillingApplication {
private static final int[][] stock = {{1, 20}, {2, 25}};
System.out.println("Invoice:");
System.out.println("Product Code: " + productCode);
System.out.println("Total Bill: $" + totalBill);
}
}
```