prog.c:3:9: error: expected parameter declarator
printf ("Introduzca numero");
^
prog.c:3:9: error: expected ')'
prog.c:3:8: note: to match this '('
printf ("Introduzca numero");
^
prog.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
printf ("Introduzca numero");
^
prog.c:3:1: warning: incompatible redeclaration of library function 'printf' [-Wincompatible-library-redeclaration]
prog.c:3:1: note: 'printf' is a builtin with type 'int (const char *, ...)'
prog.c:4:8: error: expected parameter declarator
scanf (%d, Num1);
^
prog.c:4:8: error: expected ')'
prog.c:4:7: note: to match this '('
scanf (%d, Num1);
^
prog.c:4:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
scanf (%d, Num1);
^
prog.c:4:1: warning: incompatible redeclaration of library function 'scanf' [-Wincompatible-library-redeclaration]
prog.c:4:1: note: 'scanf' is a builtin with type 'int (const char *restrict, ...)'
prog.c:5:9: error: expected parameter declarator
printf ("Introduzca segundo numero");
^
prog.c:5:9: error: expected ')'
prog.c:5:8: note: to match this '('
printf ("Introduzca segundo numero");
^
prog.c:5:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
printf ("Introduzca segundo numero");
^
prog.c:6:8: error: expected parameter declarator
scanf (%d, Num2);
^
prog.c:6:8: error: expected ')'
prog.c:6:7: note: to match this '('
scanf (%d, Num2);
^
prog.c:6:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
scanf (%d, Num2);
^
prog.c:7:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
Suma= Num1, Num2;
^
prog.c:7:1: error: redefinition of 'Suma' with a different type: 'int' vs 'float'
prog.c:2:19: note: previous definition is here
float Num1, Num2, Suma;
^
prog.c:7:13: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
Suma= Num1, Num2;
^
prog.c:7:13: error: redefinition of 'Num2' with a different type: 'int' vs 'float'
prog.c:2:13: note: previous definition is here
float Num1, Num2, Suma;
^
prog.c:8:9: error: expected parameter declarator
printf ("La suma es" = %f, suma);
^
prog.c:8:9: error: expected ')'
prog.c:8:8: note: to match this '('
printf ("La suma es" = %f, suma);
^
prog.c:8:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
printf ("La suma es" = %f, suma);
^
9 warnings and 12 errors generated.