Having trouble refactoring

The game runs exactly the same as the instructors, but when i try to refactor I get this. Any help would be fantastic!

I had the same issue. So I did write with my own . Sorry to cannot helping you :frowning:

i dont think you can put 2 if together at same level.
if (input == “1”)
if (input != “1”)
it confused whether the condition is equal or not equal.

Hi @JayChou254,

I’m sorry for the late reply. Unfortunately, your thread was in the wrong subforum. That’s why I missed your question. I’ve just moved your thread to the “Ask” subforum.

In case you haven’t solved it yet or another student is looking for an answer: The issue could be caused by Visual Studio. Please watch lecture “Fixing Visual Studio Problems” (currently #4).

This topic was automatically closed after 6 days. New replies are no longer allowed.

Privacy & Terms