diff --git a/sumof2numbers.cpp b/sumof2numbers.cpp new file mode 100644 index 0000000..10a93b6 --- /dev/null +++ b/sumof2numbers.cpp @@ -0,0 +1,11 @@ +#include +#include //headers +void main() +{ + int x,y; //the two numbers + cout<<"Enter two numbers -" + cin>>x>>y; + int s=x+y; //sum of the two numbers + cout<<"sum of the two numbers is ="<