
Patrick B. answered 04/05/20
Math and computer tutor/teacher
using namespace std;
#include <iostream>
int main()
{
int userNum, x;
cout << "Input the Dividend number to divide :>";
cin >> userNum;
do
{
cout << "Input the NON-ZERO divisor by which to divide :>";
cin >> x;
} while (x==0);
for (int iLoop=0; iLoop<4; iLoop++)
{
userNum = userNum/x;
cout << userNum << endl;
}
}