📄 listing3.4.java
字号:
/* Set up the desired loan parameters
* and call the method that computes
* the monthly payment amount
*/
int numPayments = 3 * 12; /* 3 years of monthly payments */
double interestRate = 0.08 / 12; /* 8% annual interest paid monthly */
double payment = computePayment( interestRate, numPayments,
5000.0 /* hard code the loan amount for now */ );
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -