Copied skeleton code for question 9.
Renamed exercise 9 to 8.
Input for getinfo using getline.