Magtanong at makakuha ng maliwanag na mga sagot sa IDNStudy.com. Tuklasin ang libu-libong mga sagot na na-verify ng mga eksperto at hanapin ang mga solusyong kailangan mo, anuman ang paksa.

1. What are the data needed for the solution of the program to produce the desired output?

Sagot :

Answer:

We need to do some operation on accounts so we will create a class named Account with properties 'interestRate' and 'type'. The class has a function 'getInterest' to calculate interest for a deposit in that account.

Explanation:

Hope it helps.