Chapter 1: Problem 20
Write a short C++ function that takes an integer \(n\) and returns the sum of all the integers smaller than \(n\).
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.