HNDIT
Sunday, December 16, 2012
FIND THE SUM OF THE TWO NUMBERS IN C++
#include<iostream.h>
void main ()
{
int no1,no2,sum;
cout<<"ENTER FIRST NUMBER : ";
cin>>no1;
cout<<"ENTER SECOND NUMBER :";
cin>>no2;
sum=no1+no2;
cout<<"THE SUM OF TWO NUMBER : "<<sum;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment