C++ cout statement with calculation
#include <iostream> using namespace std; int main()/*from w w w. j a v a 2 s . c o m*/ { cout << "30.0 times 0.05 is " << 30.0 * 0.05 << endl; return 0; }