c语言小程序实例(一)

今天想一想什么事也没干,连游戏都没打,就看啦一部电影,仍是把刚才写的几个c语言小程序贴上吧,显示今天也没白过啊。小程序   /*1求两个数中较大者 #include<stdio.h> int getmax(int a,int b) { int max; if(a<=b) max=b; else max=a; return max; } main() { int a,b,max; printf("p
相关文章
相关标签/搜索