Skip to content

*Methods* Write a program for the bank that helps determine whether the client has repaid the loan or not

Notifications You must be signed in to change notification settings

Minisiia/LoanRepaymentUsingMethods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LoanRepaymentUsingMethods

Write a program for the bank that helps determine whether the client has repaid the loan or not

Java для початківців 7. Методи (частина 2)

Завдання 2

Використовуючи IntelliJ IDEA, створіть клас Bank. Уявіть, що ви реалізуєте програму для банку, яка допомагає визначити, погасив клієнт кредит чи ні. Припустимо, щомісячна сума платежу має становити 100 грн. Клієнт має виконати 7 платежів, але може платити рідше великими сумами. Тобто може двома платежами по 300 і 400 грн закрити весь борг.

Створіть метод, який як аргумент прийматиме суму платежу, введену економістом банку. Метод виводить на екран інформацію про стан кредиту (сума заборгованості, сума переплат, повідомлення про відсутність боргу).

About

*Methods* Write a program for the bank that helps determine whether the client has repaid the loan or not

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages