Info
This question is closed. Reopen it to edit or answer.
Write a function called eligible that helps the admission officer of the Graduate School decide whether the applicant is eligible for admission based on GRE scores. The function takes two positive scalars called v and q as in
2 views (last 30 days)
Show older comments
function admit = eligible(v,q)
if v>=92 && q>=88
fprintf('admit')
end
2 Comments
Walter Roberson
on 11 Jul 2019
What is your question?
And where are you assigning a value to the output variable?
Walter Roberson
on 11 Jul 2019
Replaced by https://www.mathworks.com/matlabcentral/answers/471264-write-a-function-called-eligible-that-helps-the-admission-officer-of-the-graduate-school-decide-whet
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!