This is my source code which is meant to find the quotient and the remainder but it seems that it just enters the loop once and just outputs n and 0 all the time?
#include <iostream>
#include <cmath>
int main (){
int n, m ,q= 0 ;
std::cout << " please enter the two integers" << std::endl;
std:: cin >> n, m;
while(n>=m){
n=n-m;
q=q+1;
}
std::cout<< " the remaineder is " << n << " and the quotient is " << q << std::endl;
return 0;
}