Advertisement
Guest User

new

a guest
Jun 18th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main ()
  4. {
  5.     int a,b;
  6.     int sum;
  7.     cout<<"enter a number\n";
  8.     cin>>a;
  9.     cout<<"enter another number\n";
  10.     cin>>b;
  11.     sum=a+b;
  12.     cout<<"The sum is: "<<sum<<endl;
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement