|
Post by Satyajit Ghana on Aug 12, 2015 22:42:47 GMT 5.5
Hello Everyone,
This is the C++ Code for adding two numbers
#include<iostream.h> #include<conio.h> void main() { int a,b,res; cout<<"\nEnter the first number: "; cin>>a; cout<<"\nEnter the second number: "; cin>>b; res=a+b; cout<<"\nThe sum of the given numbers is: " cout<<res; getch(); }
|
|