Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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

wrie a program that alue s 1000 firen wer and he grade as below Program masidisplay an emo message if the in betweer and D 50 x 20 2. Use a while loop lo determine meny termes in the series ,k-12.s. are required for the sum of the torms to exceed So00, whal is the sum Re thi lems? Use fprintf to display the umber of terms with Use a while loop to calculate R!. Use muru ha the ecominlofthe mber n. your program for lot Test 4. Usa a while loop and if statement no deplay lhe her frum l through 50 which is divisihk hy 7 Use the command. Hint Generale and diaplay random numbers ranging from Display how many and how many numbers are peater than or equal lo 0.5. Use fprinut Hint. Use rand commemd.

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

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at drjack9650@gmail.com
Chat Now And Get Quote