Wpis z mikrobloga

#programowanie

Hej Mirki naskrobałem coś takiego w C :

#include

main ()
{
int x, y, z;
scanf("%f",&x, &y);
scanf("%f",&z);
if( x <= y ){
if(x <= z ){
printf("BINGO");
else if (x < z)
printf( "%d" x - z);
else if (z > y)
printf ("%d" z - y);
}
else
if(y <= z ){
printf("BINGO");
else if (y < z)
printf( "%d" y - z);
else if (z > x)
printf ("%d" z - x);
}
}
}

i wywala mi:

|11|error: syntax error before "else"|
|19|error: syntax error before "else"|

Co zrobiłem nie tak? ( ͡° ʖ̯ ͡°)
  • 8