Question: using Matlab You are writing code that is part of a purchasing system. For each of the following items, write a MATLAB statement to accomplish
using Matlab You are writing code that is part of a purchasing system. For each of the following items, write a MATLAB statement to accomplish the task in one script: a) Generate a menu that asks users what they wish to buy and gives them a choice of three items: Flange, Bracket, or Hinge The user's choice should be placed in a variable named PartType b) Ask users how many parts they wish to buy based on what they select in Part-a. Store the response in a variable named NumParts c) Ask the user to enter his or her name after they enter the information from Part-b. Store the response in a variable named BuyerName
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
