Question: with matlab 2- (25 points) Script input/output: (a script.m file is required for this question) a) (10 points) Write commands to ask for a student's
2- (25 points) Script input/output: (a script.m file is required for this question) a) (10 points) Write commands to ask for a student's name, ID, and Quiz 1 score from Command Window. Save these three variables as name, id, and score. name = input("What is your name?:","s") id = input("What is your student ID?:", "s") score = input("What was your Quiz 1 score?: ","s") b) (15 points) Output the information you get from (a), such as name, id, and quiz 1 score, in the following format: (Use Matlak command "print" for this question) This is course BE 1500 My name is: Yesfang Ruan My student ID is: HB9662 I got 96% for Quiz 1 You need to replace the name, ID, and quiz 1 score with your information (in red)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
