
Question
Accept the Float Value as an Input. Print the Same in its Exponential Form
Sample TestCase Expected Output
1. 1234.5671.234567e+03
Answer
#include <stdio.h>
int main(){ int num; scanf("%f",&num); printf("%e",num); return 0;}
This comment has been removed by a blog administrator.
ReplyDelete