C# Cinema age entry problem. Why is this variable unassigned? via /r/learnprogramming


C# Cinema age entry problem. Why is this variable unassigned?

This is a cinema entry age checker and I'm not sure why the movieAge variable near the bottom is unassigned. Are those if else loops not doing what I think they are doing? This is the first program I have written, so any general pointers about what I have done would also be appreciated.

Submitted July 16, 2017 at 06:17PM by Lesser_of_two_Elvis
via reddit http://ift.tt/2t5qrb4

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s