Matlab help with coding

Task 3: Another simple script file Write a Matlab script file to do the following:
Accept a number from the user.
If the number entered is less than 100 then displays the message “Number is less than 100”, and print the number entered.
If the number entered lies between [100, 200] inclusive then displays the message “Number lies between 100 and 200”, and print the number entered.
If the number entered is greater than 200 then displays the message “Number greater than 200”, and print the number entered.

Answers (0)

This question is closed.

Asked:

on 24 Nov 2021

Closed:

Rik
on 24 Nov 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!