C++ examples for Language Basics:Console
Calculate value in the output statement
#include <iostream> using namespace std; int main()//from w w w . j a v a2 s . co m { int start; int time; start = 37; time = 22; cout << start + time << endl; return 0; }