DevelopersSociety

Monday, December 8, 2014

C++ Tutorial- Program- 2- Datatypes,Variables, & values



Code: 

#include<iostream>
using namespace std;
main()
{
int number1 = 4, number2=6, sum=0;
sum= number1+number2;
cout<<"Sum of two numbers ="<<sum<<endl;
}

Output:


No comments:

Post a Comment