这里面怎么错了
#include<stdio.h>void main()
{
int x,y,z,c=0;
printf("输入两个整数:");
scanf("%d%d",&x,&y);
printf("%d+%d=",x,y);scand("%d",&z);if(x+y==z)c++;
printf("%d-%d=",x,y);scand("%d",&z);if(x-y==z)c++;
printf("%d*%d=",x,y);scand("%d",&z);if(x*y==z)c++;
printf("%d/%d=",x,y);scand("%d",&z);if(x/y==z)c++;
printf("%d%% %d=",x,y);scand("%d",&z);if(x%y==z)c++;
printf("共5道题,答对%d道题\n",c);
}
报错:
--------------------Configuration: aaa11 - Win32 Debug--------------------
Compiling...
aaa11.cpp
D:\c语言练习上机练习\第20章\第20章\aaa\aaa11.cpp(7) : error C2065: 'scand' : undeclared identifier
D:\c语言练习上机练习\第20章\第20章\aaa\aaa11.cpp(13) : fatal error C1004: unexpected end of file found
执行 cl.exe 时出错.
aaa11.obj - 1 error(s), 0 warning(s)
是怎么回事