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
相關文章
相關標籤/搜索