Learn Finance C++, Lesson 6, operators, cmath library pow function, and iomanip number formatting
Andy009Duncan
We're starting to head into the business end of the program now. First, we take our inputs and our simple calculated values and then build an equation with operators and functions to calculate our main output, which is the monthly mortgage payment on a long-term loan. Along the way, we discover the pow() function for raising numbers to various powers, and more about the importance of using C++'s 'cout' function, rather than the old-fashioned C-style 'print' or 'printf' functions.
http://andyjamesduncan.wordpress.com
Finished code block here:
http://andyjamesduncan.wordpress.com/2013/01/13/learn-finance-c-lesson-6-operators-cmath-library-pow-function-and-iomanip-number-formatting/ ... https://www.youtube.com/watch?v=t_tCAHShz8c
33195974 Bytes