_ | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁
FrontPage › 蠏

蠏襯 伎 4!螻
#include <stdio.h>
#include <stdlib.h>

int r(int);

int main(int argc, char *argv[])
{
    
    int n = 4;
    printf("%d!=%d\n", n, r(n));
    
    system("PAUSE");	
    return 0;
}

int r(int n)
{
    if (n < 0) return 0;
    else if (n == 0) return 1;
    else if (n == 1) return 1;
    else return n * r(n-1);
    
}
蠍 蠍郁鍵..
企: : るジ讓曙 襦螻豺 企Ν 譯殊語. 襦螻豺
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:52

襭 襭 蠍語企 螳螻 玖骸 苦 蠍語企 るゴ.