摘要: 浮点数 有一双精度值d=1.23456789,从键盘输入输出值要求的宽度和小数位数(0<宽度和小叔位数<=10),要求按该输出格式要求输出d。 如:输入:8(输出值要求的宽度) 4(小数位数),要求输出: 1.2346(数值前面有2个空格)。 #include <stdio.h> int main( 阅读全文
posted @ 2024-10-11 23:39 某朝 阅读(27) 评论(0) 推荐(0)