+ 1

Please tell me error in this code.

https://code.sololearn.com/cVx8ii8Mbdp8/?ref=app

17th Apr 2018, 1:54 AM
Jatin khajuria
Jatin khajuria - avatar
3 Respuestas
+ 1
thanks dear brother
18th Apr 2018, 11:37 AM
Jatin khajuria
Jatin khajuria - avatar
+ 1
No problem. Happy coding ☺☺
18th Apr 2018, 12:06 PM
Emma
0
distance clashes with something in the std namespace. Fixed bug: You don't need the / symbol: "d2.inches)/%12;" Reformatting your code helped find this bug. See how more readable your code is, when formatted correctly, e.g. good identation etc. Note, I changed classes to have the first letter capitalised, which is standard coding standards. This stopped the clash of Distance with distance. https://code.sololearn.com/cewfr75YBVWW/?ref=app
17th Apr 2018, 2:31 AM
Emma