scanf float « printf scanf « C Tutorial






4.23.scanf float
4.23.1.The printf and sscanf conversions for floating-point numbers
4.23.2.Floating-Point Input: %f
4.23.3.Floating-Point Input: %e %g %f