Question: PROBLEM 3 . Modify the MATLAB program of the Tutorial # 1 so that the code also identifies odd integers. You should use an

PROBLEM 3.
Modify the MATLAB program of the Tutorial \#1 so that the code also identifies odd integers. You should use an IF-ELSE statement. At the beginning of the code, ask the user to input a random integer. The program should identify if the number is even or odd, and display an appropriate message in the Command Window.
\(\checkmark \) The Command Window Output should look like:
```
Enter an integer =10
10 is EVEN
Enter an integer =23
23 is ODD
```
*Attach a copy your MATLAB script and Command Window output.
PROBLEM 3 . Modify the MATLAB program of the

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 Programming Questions!