Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+2
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
2
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #72.7K
Ranked #4K
~262 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for iConqueror

EDIT: Sorry I overlooked the C# context. And replied in c++ like. Though the fundamentals are probably the same. Answering with my limited knowledge of enums: Enumerations exist mostly for readability. There might be a few special cases that you can't achieve without enums, but mostly it's a special array. …

Member Avatar for ddanbe
0
148
Member Avatar for Jjajangmyeon

After the first cin.get(), with an input of 4<enter> you have 4<newline> in the input stream. You get the 4 out of it, but the newline is still there. Since the stream isn't empty your program won't wait for input on the second cin, and read newline instead.

Member Avatar for Jjajangmyeon
0
114