Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
vf = 5.5;
vp = 6;
N = 1;
winner = 'Pete';
assert(isequal(chickenRace(vf,vp,N),winner))
|
2 | Pass |
vf = 5.5;
vp = 6;
N = 2;
winner = 'Fred';
assert(isequal(chickenRace(vf,vp,N),winner))
|
3 | Pass |
vf = 6;
vp = 6;
N = 2;
winner = 'Fred';
assert(isequal(chickenRace(vf,vp,N),winner))
|
546 Solvers
965 Solvers
The sum of the numbers in the vector
426 Solvers
229 Solvers
Find out sum of prime number till given number
125 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!