Language: C

function Main(x) {
    if (x >99 || x <1000) {
        let _n = [];
let n = x.toString();
        _n[0] = n.charAt(0);
        _n[1] = n.charAt(1);
        _n[2] = n.charAt(2);
        const a = _n.filter(_a => _a === '7');
        if(a.length < 1){
            console.log('No');
        } else {
            console.log('Yes');
        }
    }
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));

Compiler output:
main.c:1:1: error: unknown type name 'function'; did you mean 'union'?
    1 | function Main(x) {
      | ^~~~~~~~
      | union
main.c: In function 'Main':
main.c:1:10: error: type of 'x' defaults to 'int' [-Wimplicit-int]
    1 | function Main(x) {
      |          ^~~~
main.c:3:9: error: unknown type name 'let'
    3 |         let _n = [];
      |         ^~~
main.c:3:18: error: expected expression before '[' token
    3 |         let _n = [];
      |                  ^
main.c:4:1: error: unknown type name 'let'
    4 | let n = x.toString();
      | ^~~
main.c:4:10: error: request for member 'toString' in something not a structure or union
    4 | let n = x.toString();
      |          ^
main.c:5:11: error: subscripted value is neither array nor pointer nor vector
    5 |         _n[0] = n.charAt(0);
      |           ^
main.c:5:18: error: request for member 'charAt' in something not a structure or union
    5 |         _n[0] = n.charAt(0);
      |                  ^
main.c:6:11: error: subscripted value is neither array nor pointer nor vector
    6 |         _n[1] = n.charAt(1);
      |           ^
main.c:6:18: error: request for member 'charAt' in something not a structure or union
    6 |         _n[1] = n.charAt(1);
      |                  ^
main.c:7:11: error: subscripted value is neither array nor pointer nor vector
    7 |         _n[2] = n.charAt(2);
      |           ^
main.c:7:18: error: request for member 'charAt' in something not a structure or union
    7 |         _n[2] = n.charAt(2);
      |                  ^
main.c:8:15: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
    8 |         const a = _n.filter(_a => _a === '7');
      |               ^
main.c:8:21: error: request for member 'filter' in something not a structure or union
    8 |         const a = _n.filter(_a => _a === '7');
      |                     ^
main.c:8:29: error: '_a' undeclared (first use in this function); did you mean 'a'?
    8 |         const a = _n.filter(_a => _a === '7');
      |                             ^~
      |                             a
main.c:8:29: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:33: error: expected expression before '>' token
    8 |         const a = _n.filter(_a => _a === '7');
      |                                 ^
main.c:9:13: error: request for member 'length' in something not a structure or union
    9 |         if(a.length < 1){
      |             ^
main.c:10:13: error: 'console' undeclared (first use in this function)
   10 |             console.log('No');
      |             ^~~~~~~
main.c:10:25: warning: multi-character character constant [-Wmultichar]
   10 |             console.log('No');
      |                         ^~~~
main.c:12:25: warning: multi-character character constant [-Wmultichar]
   12 |             console.log('Yes');
      |                         ^~~~~
main.c: At top level:
main.c:16:6: error: unknown type name 'require'
   16 | Main(require("fs").readFileSync("/dev/stdin", "utf8"));
      |      ^~~~~~~