分数化小数(decimal)
输入正整数a,b,c,输出a/b的小数形式,精确到小数点后c位。a,b<=10^6,c<=100输入包含多组数据,结束标记为a=b=c=0样例输入:1 6 40 0 0样例输出Case 1:0.1667#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <...
原创
2018-03-19 21:46:11 ·
298 阅读 ·
0 评论