C++ program to display name age and address
#includeusing namespace std; int main() { int Number1, Number2, sum; cout << "Enter first integer number : "; cin >> Number1; cout << "Enter second integer number : "; cin >> Number2; // sum of two numbers in stored in variable sum sum = Number1 + Number2; // Prints sum cout << Number1 << " + " << Number2 << " = " << sum; return 0; }
Output
Enter first number : 3 Enter second number : 5 3 + 5 = 8Happy Coding
Thanks for visiting my Blog.
Have any problem, feel free to contact us via Email : uoslondy@gmail.com
Have a good day!
0 comments:
Post a Comment