#include<stdio.h> int main() { double p=fabs(24.9996); double t=fabs(25.0003); printf("%0.3lf %0.3lf\n",p,t); if(fabs(p)==fabs(t)) printf("equal");// why this not executed? }
why the "equal" not printed in this code...? -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.