How to write repeating questions
Ältere Kommentare anzeigen
I'm looking to loop questions continuously until I get a 'no' answer.
For example when the program asks if there are any more rooms and I answer yes then it should ask the dimensions. And once I have inputted that then it should ask if there are anymore rooms, and so on until I say there aren't anymore rooms.
1 Kommentar
Adam Danz
am 13 Apr. 2021
> [flag] This is no longer appropriate and I would like it deleted so I no longer receive notifications/help.
In the upper left corner, click "unfollow" to stop receiving notifications on this thread.

Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!