Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
function admit = eligible(v,q)
if v>=92 && q>=88
fprintf('admit')
end
  2 comentarios
Walter Roberson
Walter Roberson el 11 de Jul. de 2019
What is your question?
And where are you assigning a value to the output variable?
Walter Roberson
Walter Roberson el 11 de Jul. de 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

Respuestas (0)

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by