0317 summary of compound interest Calculation experiment

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.