Page 25 - INTRODUCTION_TO_C++_Neat
P. 25

ARITHMETIC OPERATORS

#include<iostream.h>
#include<conio.h> void main()

{
int a,b,c;
cout<<“enter the value for a and
b”;
cin>>a>>b;
c=a+b; cout<<c;
c=a-b; cout<<c;
   20   21   22   23   24   25   26   27   28   29   30