LEAD To TECH
By luv yadav
Page
Home
Sunday, 17 June 2018
program of subtraction in c++
#include<iostream.h>
#include<conio.h>
int main()
{
clrscr();
int a,b,sub;
cout<<"enter the value a:";
cin>>a;
cout<<"enter the value b:";
cin>>.b;
sub = a - b;
cout<<"the sub of given value is:";
cout<<sub;
getch();
return(0);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment