Skip to content

Instantly share code, notes, and snippets.

View DuncantheeDuncan's full-sized avatar
🏠
Working from home

Phumlani Mthembu DuncantheeDuncan

🏠
Working from home
  • Cape Town, 7441
View GitHub Profile
package net.greet.web;
import java.math.BigDecimal;
import java.math.RoundingMode;
public class CompoundInterest {
public static void main(String[] args) {
double pv = 28000;
double interestRate = 7/100d;