Difference between revisions of "CPP/Math/Exponential"

From ProgrammingExamples
< CPP
Jump to: navigation, search
(Created page with '==Exponential.cpp== <source lang="cpp"> #include <cmath> #include <iostream> int main() { std::cout << exp(4) << std::endl; //should be 54.598 return 0; } </source>')
 
(No difference)

Latest revision as of 08:40, 23 June 2010

Exponential.cpp

#include <cmath>
#include <iostream>
 
int main()
{
  std::cout << exp(4) << std::endl; //should be 54.598
  return 0;
}