Syntax
string input( string prompt )
Description
input prompts the user to enter a single line of input and returns the entered string.
If the user enters a string, use the atoi function to convert the string to an integer.
Example
menu_selection = input("Enter your selection: "); switch(atoi(menu_selection)) { … }