Question: Please answer in a MATLAB form Problem 2: Write a script which prompts the user to enter a list of three separate numbers (using the
Problem 2: Write a script which prompts the user to enter a list of three separate numbers (using the input function, i.e. list(1) = input('Enter the first number: :) and a fourth number which is a "minimum value for comparison. The code should print to the screen any of the first three numbers in the list that are greater than this fourth "minimum value." Problem 3: A class has students with the following ID numbers: 104 156 126 178 101 The respective course scores for these students are: 93 86 75 96 89 Write a script that determines which students got an A in the course (a score greater than or equal to 90 - use a logical array operation like in the example). The script should print the ID numbers of the students that got an A to the screen using logical array indexing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
