2017年2月20日
摘要: 最简单的猜数程序是这样的: 用到了rand 函数,整体比较简单。 #include<stdio.h>#include<stdlib.h>int main(){ int magic; int guess; magic=rand(); while(scanf("%d",&guess)==1) { if( 阅读全文
posted @ 2017-02-20 15:57 hanlulu 阅读(217) 评论(0) 推荐(0) 编辑