how to accept float value in c code example Example: what is float in c A float is a number with a decimal point.