a man ' s basic pay for a 40 hour week is rs . 20 . overtime is paid for at 25 % above the basic rate . in a certain week he worked overtime and his total wage was rs . 25 . he therefore worked for a total of :
explanation : basic rate per hour = rs . ( 20 / 40 ) = rs . 1 / 2 overtime per hour = 125 % of rs . 1 / 2 = 125 / 100 × 1 / 2 = rs . 5 / 8 suppose he worked x hours overtime . then , 20 + 5 / 8 x = 25 or 5 / 8 x = 5 x = 5 × 8 / 5 = 8 hours so he worked in all for ( 40 + 8 ) hours = 48 hours . correct option : c
add(divide(subtract(25, 20), multiply(divide(20, 40), divide(add(const_100, 25), const_100))), 40)