My TripleX code so far{God's version}(My own story)

#include
void gameintro()
{
std::cout<<"\n Hi Brave Warrior"<<std::endl<<“My name is Coeus Titan of intellect”<<std::endl<<“You should answer my riddles to enter this maloseum of destiny, so are you ready to take up the challenge. You dont even have second chance(LOL)”;
std::cout<<“you should eat three types of apples”<<std::endl;
}

int playgame(int level)

{ gameintro();

std::cout<<"Welcome to your demise number "<<level;
int CodeA=rand();
int CodeB=rand();
int CodeC=rand();
int Sum=CodeA+CodeB+CodeC;int Product=CodeA*CodeB*CodeC;
int GuessA,GuessB,GuessC;

std::cout<<" \n You have 3 kinds of apples if you add them up you get "<<Sum<<" \n if you Multiply by their number you get "<<Product;
std::cout<<" \n Say Me Your Answer :\n";
std::cin>>GuessA>>GuessB>>GuessC;
int GuessSum=GuessA+GuessB+GuessC;int GuessProd=GuessA*GuessB*GuessC;
if(Sum==GuessSum && Product==GuessProd){
std::cout<<"You are moved into your next demise ";return ++level;}
else
{
    std::cout<<"You are going to your initial demise";return 1;
}

}
int main()
{
int MaxLevel=5;
int Level=1;
while(Level<=MaxLevel)
{
Level=playgame(Level);
std::cin.clear();
std::cin.ignore();

}

return 0;

}