Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

3 Ansichten (letzte 30 Tage)
function admit = eligible(v,q)
if v>=92 && q>=88
fprintf('admit')
end
  2 Kommentare
Walter Roberson
Walter Roberson am 11 Jul. 2019
What is your question?
And where are you assigning a value to the output variable?
Walter Roberson
Walter Roberson am 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

Antworten (0)

Diese Frage ist geschlossen.

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by