c program to take input and print float value code example Example: print float in c printf("%.6f", myFloat);