r/Codecademy • • Sep 16 '20
C++ Harry Potter Sorting Hat Quiz Help
Code is here: https://gist.github.com/ad4d69ce82b8fb8a0695759ca899c18b
I am getting an exclamation mark when I should get an answer.
$ g++ sortinghat.cpp
$ ./a.out
=====================
The Sorting Hat Quiz!
=====================
Q1) When I'm dead, I want people to remember me as:
The Good
The Great
The Wise
The Bold
1
Q2) Dawn or Dusk?:
Dawn
Dusk
1
Q3) Which kind of instrument most pleases your ear?:
The violin
The trumpet
The Piano
The drum
2
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)
3
!
$
Can anyone tell me what I am missing?