How can i Repeat a switch menu

How can i repeat a switch menu after user input confirmed that he wants to do other operation, like per say:
If you have a calc and asked the user for 2 numbers at the beggining and have a menu with all the ops using switch sum, subtraction and multiplication.
After the uheser uses one hes asked if he wants to do other operation where the menu should be displayed, but you should use the same numbers inputed before at the beginning.
Thank you in advanced.

2 Kommentare

Jan
Jan am 23 Jan. 2019
What is a "switch menu"? What is "having a calc"? Do you want to create a GUI?
João  Azevedo
João Azevedo am 23 Jan. 2019
Sorry if I have mistaken you what I want is a menu using Switch where you can choose different cases.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 23 Jan. 2019

Kommentiert:

am 23 Jan. 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by