For this Question: Edward is playing the slots. The result of a spin is represented by three uppercase English letters 
C<sub>1</sub>, C<sub>2</sub>, and C<sub>3</sub>. It is considered a win when all of them are the same letter.
Determine whether Edward will win or not.The input consists of a string S.

<b>Constraints</b>
S consists of 3 characters all of which are uppercase English letters.If the result is a win, print Won; otherwise, print Lost.<b>Sample Input 1</b> 
SSS
<b>Sample Output 1</b> 
Won

<b>Sample Input 2</b> 
WVW
<b>Sample Output 2</b> 
Lost, I have written this Solution Code: #include <stdio.h>
int main(){
	char s[9];
	scanf("%s",s);
	if(s[0]==s[1]&&s[1]==s[2]){
		printf("Won");
	}else{
		printf("Lost");
	}
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?