运行 ID: 128715

Main.cc:1:1: error: ‘include’ does not name a type; did you mean ‘__has_include’?
 include using namespace std; float passed,height,turn; int ball(float height,float turn) {
 ^~~~~~~
 __has_include
Main.cc: In function ‘int ball(float, float)’:
Main.cc:5:2: error: ‘cout’ was not declared in this scope
  cout<>height;ball(height,1);}
               ^~~
Main.cc:11:15: note: suggested alternative: ‘main’
 } int main() {cin>>height;ball(height,1);}
               ^~~
               main
Main.cc: In function ‘int ball(float, float)’:
Main.cc:11:1: warning: control reaches end of non-void function [-Wreturn-type]
 } int main() {cin>>height;ball(height,1);}
 ^