Question: help, using matlab using matlab In this problem, you will be writing a program that asks the user for their ideal coffee and how much

 help, using matlab using matlab In this problem, you will be

help, using matlab

using matlab

In this problem, you will be writing a program that asks the user for their ideal coffee and how much they would be willing to pay in a poll. Make sure to separate all input statements and fprintf statements by a line (i.e., each step below should print in a new line in the Command Window when run). a) Ask the user to input their favorite type of coffee. The input should be a string. b) Ask the user to input what type of milk they want in their coffee. The input should be a string. c) Ask the user to input what type of sweetener they like in their coffee. The input should be a string. d) Ask the user to input how much they would be willing to pay for this drink. The input should be a number. e) Output the user's ideal coffee order based on the user's inputs using fprintf. The order should have the following format. The bold arguments represent the user inputs. I would pay $5.23 for a caramel latte with no sugar and almond milk. *Note: Make sure you use the correct field types in the fprintf statements to match the example above. Do not include the bold formatting in your statement, the bolded inputs in the example are just there to show where the user inputs will be displayed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!