Help with matrix that stores info/interactive?
Afficher commentaires plus anciens
I'm trying to create a matrix/code for the following stipulations. First, create a matrix that stores the name of products and price. 1st and 2nd column should be the product name and its price, respectively. The number of product items should be flexible. Your program will ask to input product name, and it should display the price by looking at the matrix you defined. If the input product name is not in the list, it will display “Item is not in our store. Please retry.” This query should be repeated until you type in “Bye”.
How can I make a matrix interactive like this?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Shifting and Sorting Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!