Given a mass in kg, convert it into lbs. Use a conversion factor of 2.205 lbs/kg.
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers1625
Suggested Problems
-
2186 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1269 Solvers
-
Find the dimensions of a matrix
564 Solvers
-
619 Solvers
-
String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
2045 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!
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.
For people about to attempt this, here's a hint:
The third test will require an if-else statement to suit the criteria. Make sure you know how to build one before starting this.