Cody

Problem 42979. Calculating selling price

Solution 2329998

Submitted on 22 May 2020
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   Fail
x = 50; y_correct = 55; assert(isequal(your_fcn_name(x),y_correct))

y = 50 ans = 1

Assertion failed.

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

y = 500 ans = 1

Assertion failed.

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

y = 100 ans = 1

Assertion failed.

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!