nested IF-ELSE statement
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Ilmiat
il 14 Set 2020
Commentato: Image Analyst
il 17 Set 2020
Please help me solving this matlab code. Thats how the answer should look like:-
1 Commento
Risposta accettata
Image Analyst
il 14 Set 2020
Hint: input(), rem(), sprintf(), while
message = sprintf('>>>>> Enter an integer (0-9)\n blah blah fubar snafu lorem ipsum : ');
Change message passed to input depending on what their input was.
response = '0';
message = sprintf(.....
while response ~= 'x'
response = input(...........
if................
message = ...........
elseif ...........
end
end
See if you can finish it.
5 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!