Listing 3

  void doSomething(){
    cout << "Precedence:\n";
    cout << "  6*3+5 = " << 6*3+5 << endl;
    cout << "  (6*3)+5 = " << (6*3)+5 << endl;
    cout << "  6*(3+5) = " << 6*(3+5) << endl;
    
Listing 3