pay attention to the use of "cin.getline()"and "cin.get()"