Problem 49057. Mass Conversion 1
Given a mass in kg, convert it into lbs. Use a conversion factor of 2.205 lbs/kg.
Solution Stats
Problem Comments
-
3 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.
Daniel
on 14 Dec 2025 at 2:04
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.
Solution Comments
Show commentsProblem Recent Solvers1536
Suggested Problems
-
Swap the first and last columns
22451 Solvers
-
Return the 3n+1 sequence for n
8477 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
745 Solvers
-
Flip the vector from right to left
10607 Solvers
-
708 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!