2
My code is giving the error in the presentation of the scientific number, because it always appears with 3 decimal places being necessary only.
#include <stdio.h>
int main(){
float num=0.0;
scanf("%f",&num);
printf("%.4e",num);
return 0;
}
It’s coming off:
6.0221e+023
Entree:
602214085774747474747474
Right:
6.0221e+23
that’s right, I was using windows. Thank you!
– Fernando Junior