#include "stdafx.h"
#include "iostream"
using namespace std;
//alidoran
int main() {
int x,y,z=0,t=0;
cout << "please input two number"<<endl;
cin >> x>>y;
cout << "calculate "<<x<<"/"<<y<<endl;
while (t < (x-y)){
z++;
t += y;
}
cout <<"divisor is : "<< z << endl <<"quotient is : "<< x - t << endl;
system("pause");
return 0;
}