cin reads the standard input
string s;cin >> s; The string input operator: 1. Reads and discards any leading whitespace (e.g., spaces, newlines, tabs) 2. It then reads characters until the next whitespace character is