int main(){ int x, y; scanf("%d %d", &x, &y); double c = (double) x/y; printf("%f", c); return 0; }
输出 0.3333333
标签:class return post amp pre scan bsp c语言 cpp
int main(){ int x, y; scanf("%d %d", &x, &y); double c = (double) x/y; printf("%f", c); return 0; }
输出 0.3333333
标签:class return post amp pre scan bsp c语言 cpp
原文地址:https://www.cnblogs.com/bigpop/p/8542466.html