Embed presentation
Download to read offline


The document describes a C++ program that adds two numbers. The program prompts the user to enter values for variables a and b, stores their sum in a variable sum, and prints the sum. When run with sample inputs of 2 for a and 3 for b, the program correctly outputs the sum of 5.
