C++ Program to Add Two Numbers

| Last Updated: | In: C++ Tutorial


This is a simple & easy C++ program to add two number entered by the user while executing this program. I assume you have basic knowledge of C++. In the below program, there are three variable x, y, and sum. x and y hold the value of entered by the user and then add the …