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.

回答 (0 件)

この質問は閉じられています。

質問済み:

2021 年 11 月 24 日

閉鎖済み:

Rik
2021 年 11 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by