C++ program to add two integer numbers
This is a very basic C++ program; here we are reading two integer numbers through the use and calculating sum of the number.
Firstly, we are declaring two integer numbers num1 and num2, then we will take input from the user using cin. Then we will calculate sum and store into variable add, and then display the value of add.
Program to add two numbers in C++
Output
need an explanation for this answer? contact us directly to get an explanation for this answer