Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

Sum.cpp

#include<iostream>
using namespace std;
int main()
{
int x , y , sum;
cout<<"Enter the two numbers = 
";
cin>>x>>y;
sum = x + y;
cout<<"Sum = "<<sum;
return 0;
}
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+5 =