if (level >= 60 && gender == 01)
return "High Priestess";
else if (level >= 60 && gender == 00)
return "High Priest";
Not that it matters here, but when you prefix a number in c/c++ with 0, the compiler treats it as an octal number. So if you wrote 010, it would be treated as 8. It doesn't matter here because 01 is still 1 and 00 is still 0. But just be forewarned
(you probably won't do this on accident, but to represent numbers as hexadedimal, you prefix them with 0x, so 0xa is 10)