https://rentry.org/PPP2_p175 ⎗ ✓ 1 2 3 4 5 6 7 8 9 10 11 12// Code derived from Stroustrup's PPP2 book // § 6.1 A problem // -and beginning on p 175 #include <iostream> using std::cout; int main() { cout << (2 + 3.1 * 4) << '\n'; // means: 'print (2 + (3.1 * 4)) to console' } build & run: g++ -std=c++20 -O2 -Wall -pedantic ./ch_06/main_p175.cpp && ./a.out sauce: Bjarne Stroustrup's PPP2 textbook /robowaifu/'s official C++ learning textbook thread Up • Next