哪里错了
#include "stdafx.h"#include<stdio.h>
int a(int, int);
int mian(void)
{
int b ,c;
while(scanf("%d %d", &b, &c) == 2)
{
printf("%d %d %d",b, c, a(b, c));
}
getchar();
return 0;
}
int a (int n, int m)
{
int d;
if(n < m)
d = n ;
else
d = m;
return d;
}