Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void aylikOdeme(double borcMiktari, double aylikFaizOrani, int sene) {
- double aylikOdeme = borcMiktari * aylikFaizOrani / (1 - 1 / Math.pow(1 + aylikFaizOrani, sene * 12));
- System.out.println("Aylik ödeme:" + aylikOdeme);
- System.out.println("Toplam borç:" + aylikOdeme * sene * 12);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement