Back To C++ Basic Index
// program to input two numbers and find their sum #include
#include
void main() { int a,b; int sum; clrscr(); cout<<"enter value for a"; cin>>a; cout<<"enter value for b"; cin>>b; sum=a+b; cout<<"sum of a and b is "<