Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8704

Re: problem with decimals

$
0
0

Hi Ahmed,

 

   Your program seems to work good.

 

   Are you trying to divide 400/300   or 400/30?

 

  If you are trying 400/300, value is 1.333333333 and your answer for ( 400/300) * 14 will be 18.6666667.

 

Otherwise you are trying 400/30, value is 13.3333333 and your answer for ( 400/30) * 14 will be 186.6666667.

 

Thanks & Regards,

SABAREESH


Viewing all articles
Browse latest Browse all 8704

Trending Articles