c语言有趣简单代码,c语言简单代码

1,c语言简单代码? 相当于 if: 相当于 else最简单就是输出helloword代码如下:#includeint main(){ printf("helloword"); return 0; }
2,简单C语言代码#include<stdio.h>int denominator(int a,int b)if(a%b!=0) denominator(b,a%b);else return b;}main()int a,b;printf("Please input a,b--");scanf("%d,%d",&a,&b);printf("Common denominator of a,b is %d\n",denominator(a,b));getch();}【c语言有趣简单代码,c语言简单代码】

    推荐阅读