This is a official website of instagram page @coding_planet

Saturday, November 10, 2018

Add Two Numbers (C++ #2)

        C++ Program To Add Two Numbers 


Input:


/* C++ Program - Add Two Numbers */
  
#include<iostream.h>
#include<conio.h>
void main()
{
 clrscr();
 int a, b, sum;
 cout<<"Enter two number :";
 cin>>a>>b;
 sum=a+b;
 cout<<"Sum of the two number is "<<sum;
 getch();
}

Output:

*** Use Turbo C/C++ Or Dec C++ For Coding ***

Share:

Related Posts:

1 comment:

About

Blogger templates

3/recent/post-list