0

If statement is not printing even though argument is true.

So I have this if else statement for a program I am making in C#. It sort of works like choosing an option where if the user enters the number 1, it will print a statement saying "Upgrade Complete." However, when I run the program it doesn't print anything. The whole program runs successfully, but when you reach that final line that's supposed to run it is just blank. https://code.sololearn.com/cDsy9SUP2tm1/#cs The problem starts at line 75. Just to help you out the input will ask for your name, age, and the answer to 3 questions. The answer to those questions are: 5, 30, 2 in that order. Please message me if there is anything confusing that I can help clear up so you can help me solve this problem.! Thanks!

3rd Jul 2019, 4:26 AM
C0D3X
C0D3X - avatar
2 Réponses
+ 1
~ swim ~ I understand now! Thanks so much!
3rd Jul 2019, 4:44 PM
C0D3X
C0D3X - avatar
0
@~ swim ~ I think i understand what you are saying, but can you clarify or elaborate just a bit more?
3rd Jul 2019, 4:10 PM
C0D3X
C0D3X - avatar