Input by functionThe problem is that cin >> does not read the newline when you first enter '1'. Therefore you should ...
This user does not accept Private Messages