foo.c: In function ‘main’:
foo.c:6:5: error: too few arguments to function ‘scanf’
    6 |     scanf();
      |     ^~~~~
In file included from /nix/glibc-2.39-52-dev/include/features.h:503,
                 from /nix/glibc-2.39-52-dev/include/bits/libc-header-start.h:33,
                 from /nix/glibc-2.39-52-dev/include/stdio.h:28,
                 from foo.c:1:
/nix/glibc-2.39-52-dev/include/stdio.h:466:12: note: declared here
  466 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
      |            ^~~~~~~~~~
foo.c:17:5: error: ‘if(b’ undeclared (first use in this function)
   17 |     if(b<c){
      |     ^~~~~
foo.c:17:5: note: each undeclared identifier is reported only once for each function it appears in
foo.c:17:11: error: ‘c)’ undeclared (first use in this function)
   17 |     if(b<c){
      |           ^~~
foo.c:17:14: error: expected ‘;’ before ‘{’ token
   17 |     if(b<c){
      |              ^
      |              ;