|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
#include<studio.h>
#include<math.h>
void main()
{
double x,s;
printf("input number:\n");
scanf("%1f",&x);
s=sin(x);
printf("sine of %1f is %1f\n",x,s);
}
软件显示有错误
--------------------Configuration: h - Win32 Debug--------------------
Compiling...
h.c
c:\users\g6568\desktop\h.c(1) : fatal error C1083: Cannot open include file: 'studio.h': No such file or directory
Error executing cl.exe.
h.exe - 1 error(s), 0 warning(s)
求大佬,该怎么解决
就是第一章的第2道题
第一行stdio.h
- #include<stdio.h>
- #include<math.h>
- void main()
- {
- double x,s;
- printf("input number:\n");
- scanf("%1f",&x);
- s=sin(x);
- printf("sine of %1f is %1f\n",x,s);
- }
复制代码
|
|