Added Java lab programs

This commit is contained in:
2025-12-17 16:36:20 +05:30
parent ac2904f5db
commit 2f4beade3b
46 changed files with 882 additions and 0 deletions
Binary file not shown.
+10
View File
@@ -0,0 +1,10 @@
package services;
public class Interest {
private static final double RATE = 0.05; // 5% interest
public double applyInterest(double balance) {
return balance + (balance * RATE);
}
}