#include <stdio.h>
int main(void)
{
float flt_input;
printf("Enter a floating-point value: ");
scanf("%f", &flt_input);
printf("Fixed-point notation: %f/n", flt_input);
printf("Exponential notation: %e/n", flt_input);
printf("P notation: %a/n", flt_input);
return 0;
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266702.html