Skip to content

Instantly share code, notes, and snippets.

@Manume
Created May 21, 2014 10:22
Show Gist options
  • Save Manume/be4301a897cbd2de10ec to your computer and use it in GitHub Desktop.
Save Manume/be4301a897cbd2de10ec to your computer and use it in GitHub Desktop.
sum of two numbers
#include<iostream.h>
#include<conio.h>
void main()
{
int a,b,s;
cout<<"enter two numbers";
cin>>a>>b;
s=a+b;
cout<<"the sum of two number is"<<s;
getch();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment