Problem 49057. Mass Conversion 1
Solution Stats
Problem Comments
-
2 Comments
Saikat Das
on 2 Jan 2021
Test criteria is wrong, can't assert the right return value.
goc3
on 4 Jan 2021
The description has been updated to state the precision of the conversion factor used in the test suite.
Solution Comments
-
1 Comment
David Lusk
on 29 Aug 2022
Put the instructions in the instructions. I shouldn't have to comb through the test data to figure out what my program is supposed to accomplish.
-
2 Comments
Adrian Scott
on 8 Jan 2021
does the test case work as it rejects answer two and I cannot see any obvious different and drop the trailing zeros?
goc3
on 11 Jan 2021
I am not sure why it was not working... The test suite has been modified to use a tolerance, so your solution should pass now.
Problem Recent Solvers528
Suggested Problems
-
2764 Solvers
-
448 Solvers
-
455 Solvers
-
409 Solvers
-
412 Solvers
More from this Author180
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!