请问这个代码哪里错了?
#include "stdio.h"
int max (int x , int y)
{
int z;
if(x>y);
z=x;
else
z=y;
return(z);
}
void main()
{
int si,s2;
printf("Input the firet number:");
scanf("%d",&s2);
printf("max=%d\n",max(si,s2);
#include "stdio.h"
int max (int x , int y)
{
int z;
if(x>y);
z=x;
else
z=y;
return(z);
}
void main()
{
int si,s2;
printf("Input the firet number:");
scanf("%d",&s2);
printf("max=%d\n",max(si,s2);
2016-12-28
举报