if I write the following code..
float a =1.3;
double b=1.3;
if(a>b)
printf("hii");
else
printf("hello");
the o/p comes hii...but if I change the values to 1.7 the output comes hello...can any1 explain the reason????if precision is to be taken into account then everytime double should be greater..