linux oracle 网络安全 编程
发布时间:2012-12-11 08:27:01
#include <stdio.h>#define TATAL 1000int main(){ float amount,sum; int i; for(i=1,amount=0;i<=1000;i++) { printf("input the amount : \n"); scanf("%f",&amount); sum=sum+amount;  ......【阅读全文】
发布时间:2012-12-09 19:45:31
#include <stdio.h>int main(){ int a,b,c; int max(int x,int y); printf("please input a and b :"); scanf("%d,%d\n",&a,&b); c = max(a,b); printf("the max number is %d\n",c); return 0; } int max(int x,int y){ int z; if (x > y) z=x; els......【阅读全文】