OK so I made a program where the user can pick what to do. I created a simple 'if' statement to handle what he types and what he gets.
Here it is:
But for some reason, it always goes to Path1..... I think its because it's said first. I don't know how to fix this. Even if i type in s, it goes to path1. Help!Code:if ((answer = 'R') || (answer = 'r')) { path1(); } if ((answer = 'S') || (answer = 's')) { path2(); }