📄 csimple.cpp
字号:
#include "CSimple.h"
CSimple::CSimple(double a,int b,double c) : CGeneric(a,b,c) {}
double CSimple::getMonthlyPayment() const
{
double monthlyRate = rate/12;
int lengthInMonths = length*12;
return (principal*(monthlyRate*lengthInMonths + 1))/lengthInMonths;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -