⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 猜数字.txt

📁 c primer 部分习题答案
💻 TXT
字号:
#include <stdio.h>
#include <time.h>
int main(void)
{
   srand (time(0));
   int magic,num;
   magic = rand()%100;
   printf ("This is a game that you can guess a number from 1 to 100.\n")
	   printf("please enter the number you choosed:\n")
	   printf("1.play game.\n")
	   printf("2.quit the game.\n")
	   scanf ("%d",&num);
if


   return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -