WithCS
Toggle navigation
Practice
Status
Discuss
Challenge
Login
Register
Discuss
4323
WA
WA
2017131541
Reply 6 years 8 weeks ago
I am constantly getting a wrong answer despite getting the correct answer as the example output of 33.6. Could you please tell me where I am going wrong? Thank you
Status
Problem
onacloud
Reply 6 years 8 weeks ago
You have to discard the second decimal place. See the following ((int)(value*10))/10.0