It's my first time using C++, please bear with me:)
I keep getting an error which means something is wrong or a symbol is missing and I can't seem to figure out where I messed up? Its coming up with "collect2: error: ld returned 1 exit status"
Honestly I just need the thing to run so I can paint it on my door in real life. With a good conscience. I know, I'm weird.
One thing, unless it just hasn't been copied and pasted here, you're missing a main() function. The main function is the entry point for a c++ program and is required.
There also doesn't seem to be an input (cin) for the type.
Are they just going to be entering a number? In some of the type comparisons you have <> around the value you're comparing - should that just be the number?