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 comentarios

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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 23 de En. de 2019

Comentada:

el 23 de En. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by