#ifndef FUNCTION03_H_
#define FUNCTION03_H_
#include <stdio.h>
int median(int a, int b, int c);
int main() {
int a, b, c;
scanf("%d%d%d", &a
, &b
, &c
); double x1, x2;
int ans = median(a, b, c);
return 0;
}
#endif // FUNCTION03_H_
I2lmbmRlZiBGVU5DVElPTjAzX0hfCiNkZWZpbmUgRlVOQ1RJT04wM19IXwoKI2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWVkaWFuKGludCBhLCBpbnQgYiwgaW50IGMpOwoKaW50IG1haW4oKSB7CiAgaW50IGEsIGIsIGM7CiAgc2NhbmYoIiVkJWQlZCIsICZhLCAmYiwgJmMpOwogIGRvdWJsZSB4MSwgeDI7CiAgaW50IGFucyA9IG1lZGlhbihhLCBiLCBjKTsKICBwcmludGYoIiVkXG4iLCBhbnMpOwogIHJldHVybiAwOwp9CiNlbmRpZiAvLyBGVU5DVElPTjAzX0hf
prog.c: In function ‘main’:
prog.c:11:14: warning: unused variable ‘x2’ [-Wunused-variable]
double x1, x2;
^~
prog.c:11:10: warning: unused variable ‘x1’ [-Wunused-variable]
double x1, x2;
^~
prog.c:10:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /home/BTDv1M/ccTv1FBo.o: in function `main':
prog.c:(.text.startup+0x3c): undefined reference to `median'
collect2: error: ld returned 1 exit status