作者在 2011-10-07 01:20:17 发布以下内容
#include <stdio.h>
#include <conio.h>
int sum(int x,int y);
int main(){
int a,b,s;
printf("please input:");
scanf("%d,%d",&a,&b);
s=sum(a,b);
getch();
return 0;
}
int sum(int x,int y){
int z;
z=x+y;
printf("z=%d",z);
return z;
}
#include <conio.h>
int sum(int x,int y);
int main(){
int a,b,s;
printf("please input:");
scanf("%d,%d",&a,&b);
s=sum(a,b);
getch();
return 0;
}
int sum(int x,int y){
int z;
z=x+y;
printf("z=%d",z);
return z;
}