C++ examples for Operator:Arithmetic Operator
What is the output of the program: int and arithmetic operator
#include <iostream> using namespace std; int main()//from w w w . j a v a2 s .com { int num1, num2, total; num1 = 25; num2 = 30; total = num1 + num2; cout << "The total of" << num1 << " and " << num2 << " is " << total << endl; return 0; }