10836: 概率论与数理统计第一章 第三题
          Memory Limit:128 MB
          Time Limit:1.000 S
         
      
      
        
          Judge Style:Text Compare
          Creator:
      
      
          Submit:3
          Solved:0
      
Description
概率论与数理统计 第一章 概率论的基本概念
P24 习题 第三题, 每小题的每个结果在一行中输出
	
 
请在以下代码中添加入答案后提交。
#include <stdio.h>
int main()
{
int a;
float b[50];
while(scanf("%d",&a) != EOF)
{if (a==1)
b="作业答案"; //将“作业答案”替换为该题答案。若有多行,用多行重复输出。
else
b=0.688;
printf("%.3f\n",b);}
return 0;
}
Output
0.123
        Sample Input Copy
0Sample Output Copy
0.688
HINT
注意保留小数点位数设置。