Someone
public text v1 · immutable int buffer[1024];
int scor =0;
int rightinput = 0;
int bigwhile =0;
while (bigwhile==0) {
while (rightinput == 0) {
printf("Doste sintategmenes morfis x,y=z Prepei na ixuei" "-1<=(x,y)<=8 kai 0<=z<=9\n");
fgets(buffer, sizeof(buffer), stdin);
if (strcmp(buffer, "score\n") == 0)
printf("%d\n", scor);
else
sscanf(buffer ,"%d,%d=%d",&x,&y,&z);
if (x == -1 && y == -1 && z == -1) {
bigwhile=1;
rightinput=1;