C Program to Print an Float (Entered by the User). / सी एक फ्लोट मुद्रित करने के लिए कार्यक्रम (उपयोगकर्ता द्वारा दर्ज)।












C Program to Print an Float (Entered by the User)




C Program to Print an Float (Entered by the User)



#include <stdio.h> int main() { float x; printf("\n Enter x value:"); scanf("%f",&x); printf("\n Display x value: %f",x); return 0; }


Output:
Enter x value:25.789 Display x value: 25.789000