Problem 44550. Determine the number of correct and incorrect answers

Solution 1489700

Submitted on 13 Apr 2018 by David Verrelli
  • Size: 8
  • This is the leading solution.
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 = 38.5; y = 46; a = 41; assert(isequal((correct(x,y)),a))

ans = 41

Suggested Problems

Community Treasure Hunt

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

Start Hunting!