about | help | code help+videos | done | prefs |
string_formalIntroduction
string_formalIntroduction-- Given a String of a persons first and last name, and two booleans called isMan and isMarried return the formal title for the person followed by their first initial a period and last name. string_formalIntroduction("John Doe", true, false) → "Mr. J. Doe" string_formalIntroduction("Jane Doe", false, true) → "Mrs. J. Doe" string_formalIntroduction("Jane Doe", false, false) → "Ms. J. Doe" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy