Thursday, May 31, 2018

WRITE A PROGRAM TO ADD TWO VALUES.

WRITE A PROGRAM TO ADD TWO VALUES.

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

int main ()
{
int a,b,c;
clrscr();
cout << "Enter TWO values:";
cin >> a >> b;
c = a+b;
cout << "Addition of two value is:";
cout << c;
getch();
return 0;

}

0 Please Share a Your Opinion.: