Help me with is problem!!!

2 Ansichten (letzte 30 Tage)
Rodrigo Franco
Rodrigo Franco am 27 Sep. 2014
Beantwortet: Image Analyst am 27 Sep. 2014
Write a program, password.m, that asks for a user’s first name, middle initial, last name, and 10-digit cell phone number. Create a six-character password for the user, using the first letter of the first name, the middle initial, the first two letters of the last name and the last two digits of the telephone number. Report the password to the user. All letters in the password should be lowercase.

Akzeptierte Antwort

Image Analyst
Image Analyst am 27 Sep. 2014
Try this: http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers and look up help on inputdlg(), sprintf(), and helpdlg(). Another hint
firstTwoChars = yourString(1:2);
lastTwoChars = yourString(end-1:end);

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by