Question: 7. Write Matlab code called big.m that takes as input a list of positive numbers one at a time, stopping when zero is entered. It

7. Write Matlab code called big.m that takes as input a list of positive numbers one at a time, stopping when zero is entered. It should output the number of numbers entered (before the zero), as well as the largest number in the list. For example, if the input numbers (one per line) were 1, 5, 2, 7, 3, 0, then the output would be that there are 5 numbers, and the maximum is 7. I expect you will use a loop with a conditional statement inside it. Make sure you follow the guidelines with regard to commenting, preamble, and nicely for- matted output. Submit your Matlab file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
