cout<<"Enter the value of the first card: ";
cin>>card1;
cout<<"Enter the value of the second card: ";
cin>>card2;
cout<<"Enter the value of the third card: ";
cin>>card3;
cout<<"Your score is: ";
if (card1==1 && card2==1)
cout<<23;
else if (card1==1)
cout<<11+ card1 + card2;
else if (card2==1)
cout<<card1+ 11 + card3;
else if (card3==1)
cout<<card1+ card2+ 11;
else if (result <= 21)
cout<<"Sorry you lose!"<<endl;
else if (result > 21)
cout<<"Congratulations you win!"<<endl;