My code is giving the error in the presentation of the scientific number, because it always appears with 3 decimal places being needed only.
#include <stdio.h>
int main(){
float num=0.0;
scanf("%f",&num);
printf("%.4e",num);
return 0;
}
Exiting:
6.0221e + 023
Entry:
602214085774747474747474
The correct one:
6.0221e + 23