Cody

Problem 44427. what's my tax amount this year ?

Solution 2648798

Submitted on 3 Jul 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 = 70000; i=.10; y_correct =7000 assert(isequal(your_fcn_name(x,i),y_correct))

y_correct = 7000

Error using your_fcn_name Too many input arguments. Error in Test1 (line 4) assert(isequal(your_fcn_name(x,i),y_correct))

2   Fail
x = 80000; i=.15; y_correct =12000; assert(isequal(your_fcn_name(x,i),y_correct))

Error using your_fcn_name Too many input arguments. Error in Test2 (line 4) assert(isequal(your_fcn_name(x,i),y_correct))

3   Fail
x = 90000; i=.20; y_correct = 18000 assert(isequal(your_fcn_name(x,i),y_correct))

y_correct = 18000

Error using your_fcn_name Too many input arguments. Error in Test3 (line 4) assert(isequal(your_fcn_name(x,i),y_correct))

4   Fail
x = 100000; i=.30; y_correct = 30000 assert(isequal(your_fcn_name(x,i),y_correct))

y_correct = 30000

Error using your_fcn_name Too many input arguments. Error in Test4 (line 4) assert(isequal(your_fcn_name(x,i),y_correct))