Question: Problem One For loop with if/else Use MATLAB to solve the example problem starting on slide 12 of the MATLAB08 class slides. You must create

 Problem One For loop with if/else Use MATLAB to solve the

Problem One For loop with if/else Use MATLAB to solve the example problem starting on slide 12 of the MATLAB08 class slides. You must create a full solution with proper documentation and comments. You not include the find instruction, but will use a for loop and if/e1se structure. Your solution script must include: Create a variable for the height of the applicants. Use the heights listed in the example problem . Create a variable to keep track of the number of acceptable applicants . A for loop that will step through each height, one at a time. Each time through the loop, you must: Display the height Determine if the height is at least 5'6" tall, if so, display Acceptable' and increment the o o acceptable count,if not dlisplay 'Decline Once the loop exits, display the count of acceptable applicants

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!