Code is here: https://gist.github.com/ad4d69ce82b8fb8a0695759ca899c18b
I am getting an exclamation mark when I should get an answer.
$ g++ sortinghat.cpp
The Sorting Hat Quiz!
Q1) When I’m dead, I want people to remember me as:
- The Good
- The Great
- The Wise
- The Bold
Q2) Dawn or Dusk?:
Q3) Which kind of instrument most pleases your ear?:
- The violin
- The trumpet
- The Piano
- The drum
Q4) Which road tempts you most:
- The wide, sunny grassy lane
- The narrow, dark, lantern-lit alley
- The twisting, leaf-strewn path through woods
- The cobbled street lined (ancient buildings)
Can anyone tell me what I am missing?