It seems that it ought to print "NONE" but its actual behavior may be different due to rounding error. Was there something in particular you were asking about? Don
On Feb 2, 12:24 pm, apurva gupta <[email protected]> wrote: > #include<stdio.h> > > int main() > { > float x=0.3, y=0.7; > > if(x>0.3) > { > if(y>0.7) > printf("Y\n\n"); > else > printf("X\n\n");} > > else > printf("NONE\n\n"); > > > > }- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
