Main.cc: In function 'int main()':
Main.cc:7:16: error: 'm' was not declared in this scope
while(i <= m && i<=n){
^
Main.cc:7:24: error: 'n' was not declared in this scope
while(i <= m && i<=n){
^
Main.cc:8:20: error: expected primary-expression before '%' token
if (n%i == 0 %% n%i == 0){
^