l do not know what did you write to the hide part of the program.l thin that
#include<iostream>
using namespace std;
int maiin()
{
int com,chosen;
cin>>com>>chosen;
if(com==1 && chosen==3)
{
cout<<"Oh, yeah! Rock smashes scissors. I win.\n";
}
else if(com==3 && chosen==1)
{ cout<<"Darn it! Rock smashes scissors. You won.\n";}
else if(com==2 && chosen==1)
{
cout<<"Yes! Paper covers rock. I win.\n";
}
...
// you must write
//if()
//{
//}
//else if()
//{
//}