C examples for Data Type:float
Solve Evaluation of a polynomial.
#include<stdio.h> int main (void) { float result; float x = 2.55; result = 3 * x * x * x + 5 * x * x + 6; printf("result = %f", result); return 0;//from ww w . jav a 2s. co m }