Advertisement
libdo

Untitled

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