Page

Sunday, 17 June 2018

sum program in c++

#include<iostream.h>
#include<conio.h>
int main()
{
clrscr();
int a,b,sum;
cout<<"enter the value a:";
cin>>a;
cout<<"enter the value b:";
cin>>.b;
sum = a + b;
cout<<"the sum of given value is:";
cout<<sum;
getch();
return(0);
}


No comments:

Post a Comment