Looking at your code, I can already see a half-dozen errors, and these are only related to syntax. Anyways, I re-written your stuff, as it should be corrected. I suggest you look at the comments I have left
Code:
#include <stdio.h>
int main() /*** to avoid warning, put return type of main to int ***/
{
int x,y,z;
printf("Escribe tres numeros\n");
scanf("%d %d %d", &x, &y, &z);
if (x>y && x>z && y>z) /** parentheses **/
{
printf("Big numer is %d Small number is %d\n", x,z); /*** print values, not addresses ***/
}
else
{
if (x>y && x>z && y<z)/** parentheses **/
{
printf("Big numer is %d Small number is %d\n", x,y);/*** print values, not addresses ***/
}
else
{
if (y>x && y>z && x>z)/** parentheses **/
{
printf("Big numer is %d Small number is %d\n", y,z);/*** print values, not addresses ***/
}
else
{
if (y>x && y>z && x<z)/** parentheses **/
{
printf("Big numer is %d Small number is %d\n",y,x);/*** print values, not addresses ***/
}
else
{
if (z>x && z>y && y>x)/** parentheses **/
{
printf("Big numer is %d Small number is %d\n", z,x);/*** print values, not addresses ***/
}
else
{
printf("Big numer is %d Small number is %d\n", z,y);/*** print values, not addresses ***/
}
} /** forgottten brace ***/
} /* forgotten brace ***/
} /* forgtotten brace ***/
}
return 0; /**** to return int ***/
}
Also, 'd%' in the middle of a printf statement will print 'd%'. I think what you wanted was '%d'. I took the liberty of correcting that too.