Cody

Problem 42979. Calculating selling price

Solution 1571417

Submitted on 29 Jun 2018 by Srishti Saha
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = 50; y_correct = 55; assert(isequal(your_fcn_name(x),y_correct))

ans = 55

2   Pass
x = 500; y_correct = 550; assert(isequal(your_fcn_name(x),y_correct))

ans = 550

3   Pass
x = 100; y_correct = 110; assert(isequal(your_fcn_name(x),y_correct))

ans = 110

Suggested Problems

More from this Author9

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!