C语言输出多位小数
摘要:#include<stdio.h>#include<stdlib.h> int main(){ int i=0; int m=19; int n=3; int s=0; s=m/n; printf("%d",s); printf("."); for(i=0;i<100;i++) { m=m%n*10
阅读全文
posted @ 2018-09-24 13:44
posted @ 2018-09-24 13:44