Author
anonymous
almost 7 years ago
Language
Compiler
Options
Author
anonymous
almost 7 years ago
$
prog.c: In function 'main':
prog.c:22:41: error: 'rate' undeclared (first use in this function); did you mean 're'?
printf("正解率は%.0f%%です。\n",rate);
^~~~
re
prog.c:22:41: note: each undeclared identifier is reported only once for each function it appears in
prog.c: In function 'typing':
prog.c:42:2: error: 'rate' undeclared (first use in this function)
rate = (corr / total)*100;
^~~~
prog.c:44:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Exit Code:
1