这是c语言的一个模拟抛银币的正反面游戏

源代码在线查看: prt.c

软件大小: 13 K
上传用户: wql507
关键词: c语言 模拟
下载地址: 免注册下载 普通下载 VIP

相关代码

				#include "h.c"
				
				void prt_instructions()
				{
					printf("%s\n",
						"this is the readme before the game. "
						"I will flip a coin;you call it.if you"
						" call it correctly,you win;otherwise i win"
						"0--heads and 1---tails");
				
				
				}
				void prt_final_report(int win, int lose, int how_many)
				{
					printf("\n%s\n%s%3d\n%s%3d%s%3d\n",
						"Final report:",
						"number of games that you won: ",win,
						"number of games that you lose: ",lose,
						"total number of games: ",how_many);
				
				
				
				}
							

相关资源