#include <stdio.h>
#include <stdlib.h>
int main(){
printf("%f",8.0/5.0);
system("pause");
return 0;
}
no.1
8.0/5.0改成8/5
结果:0.000000
no.2
%f改成%d
结果-1717986918
时间: 2024-11-09 17:43:09
#include <stdio.h>
#include <stdlib.h>
int main(){
printf("%f",8.0/5.0);
system("pause");
return 0;
}
no.1
8.0/5.0改成8/5
结果:0.000000
no.2
%f改成%d
结果-1717986918