Traits§
Functions§
- prompt
- Note - this function will create a copy of a string of stdin
Use
prompt_stringfor strings - prompt_
string - prompt_
y - Returns
trueif first letter of a user response corresponds to “y” or “Y”, otherwisefalse
prompt_string for stringstrue if first letter of a user response corresponds to “y” or “Y”, otherwise false