In order to reduce weight healthily, weight will be reduced by 4% every month.
Please calculate how many months it will take by achieving the target weight.
eg. My weight now is 54.3 kg, and I want to lose weight to 46.5 kg. It will take 4 months;
input : before=54.3,after=46.5 >>> output : month = 4
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers49
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53018 Solvers
-
Find the longest sequence of 1's in a binary sequence.
6726 Solvers
-
Similar Triangles - find the height of the tree
470 Solvers
-
842 Solvers
-
782 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!