// This example is much more readable than Program 2-29. #include using namespace std; int main() { double shares = 220.0; double avgPrice = 14.67; cout << "There were " << shares << " shares sold at $"; cout << avgPrice << " per share.\n"; return 0; }