prog.c: In function 'main':
prog.c:6:8: warning: multi-character character constant [-Wmultichar]
scanf('%f',mediaum);
^
prog.c:6:8: warning: passing argument 1 of 'scanf' makes pointer from integer without a cast
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from prog.c:1:
/usr/include/stdio.h:446:12: note: expected 'const char * __restrict__' but argument is of type 'int'
extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
^
prog.c:7:2: error: too few arguments to function 'printf'
printf();
^
prog.c:9:8: warning: multi-character character constant [-Wmultichar]
scanf('%f',mediadois);
^
prog.c:9:8: warning: passing argument 1 of 'scanf' makes pointer from integer without a cast
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from prog.c:1:
/usr/include/stdio.h:446:12: note: expected 'const char * __restrict__' but argument is of type 'int'
extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
^
prog.c:10:2: error: too few arguments to function 'printf'
printf();
^
prog.c:12:8: warning: multi-character character constant [-Wmultichar]
scanf('%f',mediatres);
^
prog.c:12:8: warning: passing argument 1 of 'scanf' makes pointer from integer without a cast
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from prog.c:1:
/usr/include/stdio.h:446:12: note: expected 'const char * __restrict__' but argument is of type 'int'
extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
^
prog.c:13:2: error: too few arguments to function 'printf'
printf();
^
prog.c:15:8: warning: multi-character character constant [-Wmultichar]
scanf('%f',mediaquatro);
^
prog.c:15:8: warning: passing argument 1 of 'scanf' makes pointer from integer without a cast
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from prog.c:1:
/usr/include/stdio.h:446:12: note: expected 'const char * __restrict__' but argument is of type 'int'
extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
^
prog.c:16:2: error: too few arguments to function 'printf'
printf();
^
prog.c:21:9: warning: multi-character character constant [-Wmultichar]
printf('%f',mediafinal);
^
prog.c:21:9: warning: passing argument 1 of 'printf' makes pointer from integer without a cast
In file included from prog.c:1:0:
/usr/include/stdio.h:362:12: note: expected 'const char * __restrict__' but argument is of type 'int'
extern int printf (const char *__restrict __format, ...);
^