Experiment |
Application Tools |
Line of code |
Workload |
One |
vc++6.0 (C language) |
15 |
30 minutes |
Two |
vc++6.0 (C language) |
122 |
90 minutes |
Estimation |
Code Amount |
Workload |
Results |
4th Little Question |
20 rows |
30 minutes |
24 Lines 24 minutes |
5th Little Question |
20 rows |
30 minutes |
24 rows |
6th Little Question |
|
|
|
Experimental summary: The first experiment is simply to achieve the calculation of compound interest calculation of the final value function, a few lines of code plus a mathematical formula can be written out. relatively simple. The second experiment slowly increased the other functions of compound interest calculation, such as simple interest calculation, simple interest calculation and compound interest calculation are two different ways to calculate the year-end value, of course, get the end value at any time but the meaning is not the same. Experiment three plus the function is a little more. To anticipate the user's requirements, counter-calculate to meet customer requirements. Combined with three Tests, the function of compound interest calculation is more perfect. The code is more but refined, so while perfecting the code, you also have to learn how to apply the learned programming knowledge more carefully.
0317 summary of compound interest Calculation experiment