foo.cc: In function ‘int main()’:
foo.cc:11:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
11 | if(s1=="Rock"&&s2=="Scissors" || s1=="Scissors"&&s2=="Paper" || s1=="Paper"&&s2=="Rock")
| ~~~~~~~~~~^~~~~~~~~~~~~~~~
foo.cc:11:92: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
11 | if(s1=="Rock"&&s2=="Scissors" || s1=="Scissors"&&s2=="Paper" || s1=="Paper"&&s2=="Rock")
| ~~~~~~~~~~~^~~~~~~~~~~~
foo.cc:13:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
13 | else if(s1=="Scissors"&&s2=="Rock" || s1=="Paper"&&s2=="Scissors" || s1=="Rock"&&s2=="Paper")
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
foo.cc:13:96: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
13 | else if(s1=="Scissors"&&s2=="Rock" || s1=="Paper"&&s2=="Scissors" || s1=="Rock"&&s2=="Paper")
| ~~~~~~~~~~^~~~~~~~~~~~~