Problem 49057. Mass Conversion 1
Test criteria is wrong, can't assert the right return value.
The description has been updated to state the precision of the conversion factor used in the test suite.
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.
does the test case work as it rejects answer two and I cannot see any obvious different and drop the trailing zeros?
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 Solvers516
Find the sum of the elements in the "second" diagonal
Back to basics 8 - Matrix Diagonals
Height of a right-angled triangle
More from this Author180
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!