Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Matlab Problem 2 Background Industrial Systems Engineers often take measurements of large data sets to analyze how conditions of a process could be optimized

image text in transcribed

Using Matlab

Problem 2 Background Industrial Systems Engineers often take measurements of large data sets to analyze how conditions of a process could be optimized to increase efficiency, reduce cost, or improve customer experience (Lean and Six Sigma!). This could apply to many different areas such as a plant/ factory, store transactions, or supply-chain. Problem Statement You are an Industrial Systems Engineer who is looking to improve customer experience in fast food lines. You have created a machine which will accept customers' money, and tell them what items they can afford based on the amount they have inputted and then return it to them. All that's left is to write the code for the machine in MATLAB The menu items that a customer can afford based on the amount inputted are listed below: o Under 2 dollars: A soda or fries o Under 5 dollars: A soda, and fries, or a sandwich o Under 8 dollars: A soda, fries and a sandwich o 8 dollars or over: A soda, fries, a sandwich and a frosty In your script file, prompt the user to enter a dollar amount. Based on this amount tell the user what items they can afford based on the list above. After, ask the user if they would like to add more money to the initial amount. If they say yes, the program should run again with the initial amount + the amount of money added for as many times as they decide to add money. Once the consumer does not want to add anymore, end the program and return their money

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases A Tour

Authors: Shashi Shekhar, Sanjay Chawla

1st Edition

0130174807, 978-0130174802

More Books

Students also viewed these Databases questions

Question

How We Listen?

Answered: 1 week ago