Title The Class for Representing a Loan
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/index.html?lang=PYTHON&set=objects_classes_loan
Platform Name PCEX
Features
Description Construct a class that represents a loan. This class should contain data representing the interest rate, loan amount, and the length of loan period (in years); all of which could be accessed or changed only through the getter and setter methods. An instance of the class should be created by specifying annual interest rate, length of loan period, and loan amount.\nThe other method of the this class should calculate the amount of monthly payments on the loan.
Keywords classes, objects
Author Roya Hosseini
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/index.html?lang=PYTHON&set=objects_classes_loan
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview