1. 2. Subtraction of two numbers
// Subtraction of two numbers
#include<iostream.h>
#include<conio.h>
void main()
{
int a,b,c;
cout<<"Enter the value of a";
cin>>a;
cout<<"Enter the value of b";
cin>>b;
c=a-b;
cout<<"Subtraction of two numbers";
cout<<c;
getch();
}
OUTPUT:
Enter the value of a6
Enter the value of a6
Enter the value of b5
Addition of two numbers1
No comments:
Post a Comment