C++ Program to Print the Sum of Two Values


#include<iostream.h>
#include<conio.h>
int main()
{
clrscr();
int value1,value2,sum;
cout<<"\n\t Enter the First Value:";
cin>>value1;
cout<<"\n\t Enter the Second Value:";
cin>>value2;
sum=value1+value2;
cout<<"\n\t The Sum of the Given Values is:"<<sum;
return 0;
}

Labels: , , , , , ,