How to display units with my answer?
25 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Holden Earl
am 22 Mär. 2020
Kommentiert: Holden Earl
am 22 Mär. 2020
prompt = 'Enter mass in pounds:';
x = input(prompt);
y = x*0.4536;
disp (y);
This is my current script and i want to have the answer display with 'kg' next to the answer and i cant figure out how to do it.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Holidays / Seasons 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!