c++ or matlab wrie a program that alue s 1000 firen wer and he grade as below Pr
ID: 2080042 • Letter: C
Question
c++ or matlab
Explanation / Answer
Matlab code
K=input('please enter number between 0 and 100'); % input to variable K
if K< 50 % loop initiated according to condition given in question
disp('F');
elseif (K<70 & K>=50)
disp('D');
elseif K>=70
disp('P');
else
disp('error');
end
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.