这个哪错了--小白求助
c语言吧
全部回复
仅看楼主
level 4
超大脸猫咪
楼主
#define PI 3.1416
main()
{
float Radius,Area;
scanf(%f,&Radius); /*输入半径的值*/
Area=PI*Radius*Radius;
printf(%f\n,Area); /*输出圆的面积*/
}
大家帮着找错误,我是初学的,不知道哪里错了
2011年05月27日 01点05分
1
level 10
陨落无极
引号都不用加
2011年05月27日 02点05分
2
level 10
win我人生
scanf printf里面要加引号,开始要写include < > 那个句子吧
2011年05月27日 02点05分
3
level 1
泪雪公主
学C语言的请上yy26030124 请加yy群4158082 注意不是QQ是yy群 大家共同交流,全过程免费
2011年05月27日 04点05分
4
level 10
💫娜迦女妖
#include<stdio.h>
#define PI 3.1416
int main()
{
float Radius,Area;
scanf("%f",&Radius); /*输入半径的值*/
Area=PI*Radius*Radius;
printf("%f\n",Area); /*输出圆的面积*/
return 0;
}
2011年05月27日 04点05分
5
level 4
超大脸猫咪
楼主
恩人。
2011年05月27日 12点05分
6
level 10
💫娜迦女妖
我什么都没写
2011年05月27日 12点05分
7
level 4
超大脸猫咪
楼主
写了呀
2011年05月27日 12点05分
8
level 1
tttyyy88888
你的基本知识太差了,自己写的什么程序,一些细节都不注意。
2011年05月27日 13点05分
9
level 4
超大脸猫咪
楼主
初学呢,
2011年05月27日 14点05分
10
1