how to make a code that guess the color of the string variable stored ?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad
am 20 Apr. 2022
Bearbeitet: Arif Hoq
am 20 Apr. 2022
mywords = "sulaman is here";
ht = text(0.8,0.8,mywords,'color','b')
now i want to make the code that take the guess from the user
whats my favourite color ?
if user input blue then disp "you are right" if wrong then "try again"
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Structures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!