📄 cprog071-1.c
字号:
#include <stdio.h>
#include <math.h>
double f(float x)
{
/**/
/**/
}
void main()
{
float x;
double y;
clrscr();
printf("Please input a number:\n");
scanf("%f",&x);
y = f(x);
printf("f(%.2f)=%.2f\n",x,y);
getch();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -