Language: C

float x,n=1e9,h;main(){for(;~scanf("%f",&h);n=n>h?h:n)x=x<h?h:x;exit(printf("%f\n",max-min));}

Compiler output:
main.c:1:17: error: return type defaults to 'int' [-Wimplicit-int]
    1 | float x,n=1e9,h;main(){for(;~scanf("%f",&h);n=n>h?h:n)x=x<h?h:x;exit(printf("%f\n",max-min));}
      |                 ^~~~
main.c: In function 'main':
main.c:1:30: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | float x,n=1e9,h;main(){for(;~scanf("%f",&h);n=n>h?h:n)x=x<h?h:x;exit(printf("%f\n",max-min));}
      |                              ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | float x,n=1e9,h;main(){for(;~scanf("%f",&h);n=n>h?h:n)x=x<h?h:x;exit(printf("%f\n",max-min));}
main.c:1:30: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | float x,n=1e9,h;main(){for(;~scanf("%f",&h);n=n>h?h:n)x=x<h?h:x;exit(printf("%f\n",max-min));}
      |                              ^~~~~
main.c:1:30: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:65: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    1 | float x,n=1e9,h;main(){for(;~scanf("%f",&h);n=n>h?h:n)x=x<h?h:x;exit(printf("%f\n",max-min));}
      |                                                                 ^~~~
main.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | float x,n=1e9,h;main(){for(;~scanf("%f",&h);n=n>h?h:n)x=x<h?h:x;exit(printf("%f\n",max-min));}
main.c:1:65: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    1 | float x,n=1e9,h;main(){for(;~scanf("%f",&h);n=n>h?h:n)x=x<h?h:x;exit(printf("%f\n",max-min));}
      |                                                                 ^~~~
main.c:1:65: note: include '<stdlib.h>' or provide a declaration of 'exit'
main.c:1:70: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | float x,n=1e9,h;main(){for(;~scanf("%f",&h);n=n>h?h:n)x=x<h?h:x;exit(printf("%f\n",max-min));}
      |                                                                      ^~~~~~
main.c:1:70: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:70: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:1:70: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:84: error: 'max' undeclared (first use in this function)
    1 | float x,n=1e9,h;main(){for(;~scanf("%f",&h);n=n>h?h:n)x=x<h?h:x;exit(printf("%f\n",max-min));}
      |                                                                                    ^~~
main.c:1:84: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:88: error: 'min' undeclared (first use in this function); did you mean 'main'?
    1 | float x,n=1e9,h;main(){for(;~scanf("%f",&h);n=n>h?h:n)x=x<h?h:x;exit(printf("%f\n",max-min));}
      |                                                                                        ^~~
      |                                                                                        main