Friday 20 December 2013

Sum of Two Number

Write a program to Find Sum of Two numbers??

Input: Any Two Numbers
Output: Sum of those Two

# include <iostream.h>
# include <conio.h>

int main()
{
  int No_1,No_2,Result;
  cout<<"Enter Two Numbers: ";
  cin>>No_1>>No_2;
  Result=No_1+No_2;
  cout<<Result;
  return 00;
}

Output:

Enter two Numbers: 5 6
11





  

  

No comments:

Post a Comment