Chapter 5: Problem 20
Given that the following code is correctly inserted into a program, state its entire output as to content and form. (Assume all variables are properly declared.) num = 0; for (i = 1; i <= 4; i++) { num = num + 10 * (i - 1); cout << num << " "; } cout << endl;
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.