#include"stdio.h"intfact(int num){if(num <=1){printf("1 = ");return1;}else{printf("%d x ",num);return num *fact(num-1);}}intmain(){int num =10;// printf("plz input a number you want to fact: ");// scanf("%d", &num);printf("%d\n",fact(num));}
Go Web 编程 更新于 1年前
一步步带你进入 Go Web 编程的世界,让我们开始探索吧!
文档类型:系统文档
文章统计:96 篇,字数 12.52 万,点赞 508
文章列表所有讨论 基本信息 关于本书 第一章. Go 环境配置 01.0. Go 环境配置 01.1. 安装 Go 01.2. GOPATH 与工作空间 …