A printf statement causes output when a program is run.
printf("The value of average is %f",count);
The information in the Format String (the part
enclosed in double quotation marks) is literally printed
out as output. Where the %f Format Character is
situated within the Format String, the value of a specific
float is output. The argument AFTER the Format String
shows what specific value this will be: the value of the
variable average.