#include<stdio.h>
int min(int x, int y) //调用函数
{
int t = 0;
if (x < y)
t = x;
else t = y;
return t;
}
int main() //主函数
{
int a, b, m;
printf("\nEnter Two Number:");
scanf("%d %d",&a,&b);
m = min(a, b);
printf("Minimum:%d\n", m);
getchar();
getchar();
return 0;
}
int min(int x, int y) //调用函数
{
int t = 0;
if (x < y)
t = x;
else t = y;
return t;
}
int main() //主函数
{
int a, b, m;
printf("\nEnter Two Number:");
scanf("%d %d",&a,&b);
m = min(a, b);
printf("Minimum:%d\n", m);
getchar();
getchar();
return 0;
}
懒惰解决不了啥事