Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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 vues (au cours des 30 derniers jours)
function admit = eligible(v,q)
if v>=92 && q>=88
fprintf('admit')
end
  2 commentaires
Walter Roberson
Walter Roberson le 11 Juil 2019
What is your question?
And where are you assigning a value to the output variable?
Walter Roberson
Walter Roberson le 11 Juil 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

Réponses (0)

Cette question est clôturée.

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by