Duplicate thread of can u implement a c code for this maths problem..??. Thread closed.