Why don't you convert 1 or 2 or 3 for the computers guess to the char 'R', or 'P' or 'S' - then use the char everywhere?

Code:
const char conv[] = "RPSB";
....
char guess = (num >= 1 && num <= 3) ? conv[num - 1] : conv[3];