📄 prt.c
字号:
#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);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -