Solution:-
#include<iostream>
#include<conio.h>
using namespace std;
int main ()
{
int a,b,c;
cout<<"Enter Numbers = ";
cin>>a>>b;
c=a/b;
c=c*b;
b=a-c;
cout<<b;
getch();
}
#include<iostream>
#include<conio.h>
using namespace std;
int main ()
{
int a,b,c;
cout<<"Enter Numbers = ";
cin>>a>>b;
c=a/b;
c=c*b;
b=a-c;
cout<<b;
getch();
}
0 Questions:
Post a Comment