hey! i am also unable to explain but one thing i got............
if we use %d in place of %f,we will get the correct output.........
we must use %d as x is of int data type.....so thq code is itself
wrong.............
or
u can change x to float data type


-- 
Ashutosh Tripathi
UG Student
Computer Science and Engineering Department,
Nit Durgapur,West Bengal.

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@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.

Reply via email to