You should change the name of the function
because a business wants you to buy their product. Its like gas prices, when one gas price is lower than another stores, people tend to go to the one with the lower price.
That is true..........................................................................
Answer:
function command_line()
while 1==1
x = input('>','s');
if x == 'q'
user_message = sprintf('Shutting down the program now... ');
disp(user_message)
Explanation:
- Create a function called command_line and run a while loop loop inside it.
- Take input from user and keep on displaying it.
- Check whether the user entered the letter q, then display the "Shutting down the program now..." message and then terminate program.