write a matlab function
古いコメントを表示
Write a function StudentInfo()with no input argument and no output argument. Inside the function, ask the user to enter: first name, last name, student ID, and GPA. The function stores all these inputs into a single cell array variable and display the content in the following format:
>> StudentInfo()
>> Please enter the First Name: Mark
>> Please enter the Last Name: Twain
>> Please enter the ID: 12345678
>> Please enter the GPA: 3.10
>> Below are what you have entered:
Name: Mark Twain
UID: 12345678
GPA: 3.10
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!