Question: Assume a user has responded to the question Do you want to continue (Yes or No)? and the response has been stored in UserResp. If
Assume a user has responded to the question "Do you want to continue (Yes or No)?" and the response has been stored in UserResp. If the user typed Yes, what is placed in Cont by each of the following statements? Use spaces and not comas for a vector. a.) Cont = UserRep == 'Yes'; Cont contains [ type your answer... ]
b.) Cont = strcmp('Yes', UserResp); Cont contains type your answer... .
c.) Cont = strcmpi('YES', UserResp); Cont contains type your answer... .
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
