foo.c: In function 'main':
foo.c:8:20: error: 'number' undeclared (first use in this function); did you mean 'number2'?
8 | if(number1>number)
| ^~~~~~
| number2
foo.c:8:20: note: each undeclared identifier is reported only once for each function it appears in
foo.c:9:5: error: 'cout' undeclared (first use in this function)
9 | cout<<"xiao wang shi huai dan"<<endl;
| ^~~~
foo.c:9:37: error: 'endl' undeclared (first use in this function)
9 | cout<<"xiao wang shi huai dan"<<endl;
| ^~~~
[Hydro](https://hydro.ac)提供评测服务