//
Code is given below
#include<iostream>
using namespace std;
main()
{
int a,b,result;
cout<<"enter the first number : ";
cin>>a;
cout<<"enter the 2nd number : ";
cin>>b;
if ( a > b )
{
result = a / b ;
cout<<"a / b = "<<result<<"\n";
}
else
cout<<"Please enter the 1st number greater ";
return 0;
}
No comments:
Post a Comment
thnx for visiting my blog