Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  int N;
  cin>>N;
  int A,B;
  int YN = 1;
  for(A=1,A<10,A++)
  {
    B = 1;
    if(N == A*B)
      YN == 0;
  }
  for(A=1,A<10,A++)
  {
    B = 2;
    if(N == A*B)
      YN == 0;
  }
  for(A=1,A<10,A++)
  {
    B = 3;
    if(N == A*B)
      YN == 0;
  }
  for(A=1,A<10,A++)
  {
    B = 3;
    if(N == A*B)
      YN == 0;
  }
  for(A=1,A<10,A++)
  {
    B = 4;
    if(N == A*B)
      YN == 0;
  }
  for(A=1,A<10,A++)
  {
    B = 5;
    if(N == A*B)
      YN == 0;
  }
  for(A=1,A<10,A++)
  {
    B = 6;
    if(N == A*B)
      YN == 0;
  }
  for(A=1,A<10,A++)
  {
    B = 7;
    if(N == A*B)
      YN == 0;
  }
  for(A=1,A<10,A++)
  {
    B = 8;
    if(N == A*B)
      YN == 0;
  }
  for(A=1,A<10,A++)
  {
    B = 9;
    if(N == A*B)
      YN == 0;
  }
  
  
  if(YN = 0)
    cout<<"Yes"<<endl;
  else
    cout<<"No"<<endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:19: error: expected ';' before ')' token
    9 |   for(A=1,A<10,A++)
      |                   ^
      |                   ;
a.cc:15:3: error: expected primary-expression before 'for'
   15 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:14:4: error: expected ';' before 'for'
   14 |   }
      |    ^
      |    ;
   15 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:15:3: error: expected primary-expression before 'for'
   15 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:14:4: error: expected ')' before 'for'
   14 |   }
      |    ^
      |    )
   15 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:9:6: note: to match this '('
    9 |   for(A=1,A<10,A++)
      |      ^
a.cc:15:19: error: expected ';' before ')' token
   15 |   for(A=1,A<10,A++)
      |                   ^
      |                   ;
a.cc:21:3: error: expected primary-expression before 'for'
   21 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:20:4: error: expected ';' before 'for'
   20 |   }
      |    ^
      |    ;
   21 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:21:3: error: expected primary-expression before 'for'
   21 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:20:4: error: expected ')' before 'for'
   20 |   }
      |    ^
      |    )
   21 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:15:6: note: to match this '('
   15 |   for(A=1,A<10,A++)
      |      ^
a.cc:21:19: error: expected ';' before ')' token
   21 |   for(A=1,A<10,A++)
      |                   ^
      |                   ;
a.cc:27:3: error: expected primary-expression before 'for'
   27 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:26:4: error: expected ';' before 'for'
   26 |   }
      |    ^
      |    ;
   27 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:27:3: error: expected primary-expression before 'for'
   27 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:26:4: error: expected ')' before 'for'
   26 |   }
      |    ^
      |    )
   27 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:21:6: note: to match this '('
   21 |   for(A=1,A<10,A++)
      |      ^
a.cc:27:19: error: expected ';' before ')' token
   27 |   for(A=1,A<10,A++)
      |                   ^
      |                   ;
a.cc:33:3: error: expected primary-expression before 'for'
   33 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:32:4: error: expected ';' before 'for'
   32 |   }
      |    ^
      |    ;
   33 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:33:3: error: expected primary-expression before 'for'
   33 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:32:4: error: expected ')' before 'for'
   32 |   }
      |    ^
      |    )
   33 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:27:6: note: to match this '('
   27 |   for(A=1,A<10,A++)
      |      ^
a.cc:33:19: error: expected ';' before ')' token
   33 |   for(A=1,A<10,A++)
      |                   ^
      |                   ;
a.cc:39:3: error: expected primary-expression before 'for'
   39 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:38:4: error: expected ';' before 'for'
   38 |   }
      |    ^
      |    ;
   39 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:39:3: error: expected primary-expression before 'for'
   39 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:38:4: error: expected ')' before 'for'
   38 |   }
      |    ^
      |    )
   39 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:33:6: note: to match this '('
   33 |   for(A=1,A<10,A++)
      |      ^
a.cc:39:19: error: expected ';' before ')' token
   39 |   for(A=1,A<10,A++)
      |                   ^
      |                   ;
a.cc:45:3: error: expected primary-expression before 'for'
   45 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:44:4: error: expected ';' before 'for'
   44 |   }
      |    ^
      |    ;
   45 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:45:3: error: expected primary-expression before 'for'
   45 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:44:4: error: expected ')' before 'for'
   44 |   }
      |    ^
      |    )
   45 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:39:6: note: to match this '('
   39 |   for(A=1,A<10,A++)
      |      ^
a.cc:45:19: error: expected ';' before ')' token
   45 |   for(A=1,A<10,A++)
      |                   ^
      |                   ;
a.cc:51:3: error: expected primary-expression before 'for'
   51 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:50:4: error: expected ';' before 'for'
   50 |   }
      |    ^
      |    ;
   51 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:51:3: error: expected primary-expression before 'for'
   51 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:50:4: error: expected ')' before 'for'
   50 |   }
      |    ^
      |    )
   51 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:45:6: note: to match this '('
   45 |   for(A=1,A<10,A++)
      |      ^
a.cc:51:19: error: expected ';' before ')' token
   51 |   for(A=1,A<10,A++)
      |                   ^
      |                   ;
a.cc:57:3: error: expected primary-expression before 'for'
   57 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:56:4: error: expected ';' before 'for'
   56 |   }
      |    ^
      |    ;
   57 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:57:3: error: expected primary-expression before 'for'
   57 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:56:4: error: expected ')' before 'for'
   56 |   }
      |    ^
      |    )
   57 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:51:6: note: to match this '('
   51 |   for(A=1,A<10,A++)
      |      ^
a.cc:57:19: error: expected ';' before ')' token
   57 |   for(A=1,A<10,A++)
      |                   ^
      |                   ;
a.cc:63:3: error: expected primary-expression before 'for'
   63 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:62:4: error: expected ';' before 'for'
   62 |   }
      |    ^
      |    ;
   63 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:63:3: error: expected primary-expression before 'for'
   63 |   for(A=1,A<10,A++)
      |   ^~~
a.cc:62:4: error: expected ')' before 'for'
   62 |   }
      |    ^
      |    )
   63 |   for(A=1,A<10,A++)
      |   ~~~
a.cc:57:6: note: to match this '('
   57 |   for(A=1,A<10,A++)
      |      ^
a.cc:63:19: error: expected ';' before ')' token
   63 |   for(A=1,A<10,A++)
      |                   ^
      |                   ;
a.cc:71:3: error: expected primary-expression before 'if'
   71 |   if(YN = 0)
      |   ^~
a.cc:68:4: error: expected ';' before 'if'
   68 |   }
      |    ^
      |    ;
......
   71 |   if(YN = 0)
      |   ~~
a.cc:71:3: error: expected primary-expression before 'if'
   71 |   if(YN = 0)
      |   ^~
a.cc:68:4: error: expected ')' before 'if'
   68 |   }
      |    ^
      |    )
......
   71 |   if(YN = 0)
      |   ~~
a.cc:63:6: note: to match this '('
   63 |   for(A=1,A<10,A++)
      |      ^