为什么它无法识别total coins

1 #include <stdio.h>
2
int main( )3
/begin/ int cash; printf("
");
scanf("%d",&cash);
int twenty =cash / 20; cash %= 20;
10 int ten = cash / 10;
11 cash %= 10;
12 int five =cash/5;
13 cash %=5;
14 int one =cash;
15 int total coins=twenty+ten+five+one;
17 16 printf(" return 0; %d \n",total coins);
1819
20 /************
end************/
return 0;
24
编译器(6)资源编译日志调试搜索结果 Console关闭
行 列 单元 信息
15 12 C:\Users\周?劳?\Desktop\未??1.c [Error| expected '=,'.. ., 'asm' or 'attribute_'before 'coins'
15 12 C:\Users\周?劳?\Desktop\未??1.c [Error] 'coins'undeclared (first use in this function)
15 12 C:\Users\周?劳?\Desktop\未??1.c [Note| each undeclared identifier is reported only once for each function it appears in
16 40 C:\Users?范?彤\Desktop?批?名1.c [Error] total' undeclared (first use in this function)
16 45 C:\Users?苊?彤\Desktop?疵?名1.c [Error] expected ')'before 'coins'
行:24 列:3 已选择:0 总行数:24 长度:410插入 在0秒内完成解析
搜索
-456789
2223