C++ examples for Operator:Arithmetic Operator
Shows mixed expressions
#include <iostream> using namespace std; int main()//from w w w . j av a 2 s . c o m { int count = 7; float avgWeight = 155.5F; double totalWeight = count * avgWeight; cout << "totalWeight=" << totalWeight << endl; return 0; }