Created
June 30, 2019 09:34
-
-
Save umair313/4add59714b69c269c91417f4ff5c8d86 to your computer and use it in GitHub Desktop.
this program will take two number's from user and display sum of two numbers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() { | |
int a,b,result; | |
cout<< "Enter Number a : "; | |
cin>>a; | |
cout<< "Enter Number b : "; | |
cin>>b; | |
result=a+b; | |
cout<< "the sum of "<<a << " and "<<b << " is = " <<result; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment