A script containing if then statements

Create a Matlab script to:
  • Ask the user their name
  • Create a menu that will determine whether a student is in TEAM UP or not.
  • If they are in TEAM UP, display to the screen a message that includes their name and says "Hope you're enjoying the program."
  • If they are not in TEAM UP, display to the screen a message that includes their name and says "Hope you're enjoying your home school."

回答 (1 件)

KSSV
KSSV 2020 年 10 月 29 日

0 投票

Read about input, strcmpi, strcmp, strfind, fprintf.

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

質問済み:

2020 年 10 月 29 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by