摘要:
#include<stdio.h> #include<string.h> void a(); void b(); void c(); void d(); void e(); main(){ a(); } void a(){ int i; printf("主菜单\n1.登录\n2.注册\n3.输入水仙 阅读全文
摘要:
1、编写程序,统计字符串中大写字母的个数 #include <stdio.h> main() { char str[80]; int i=0; int cnt=0; printf("请输入你的字母:"); gets(str); while ( str[i]!=0 ) { if ( str[i]>=' 阅读全文
摘要:
#include <stdio.h> #include <stdlib.h> #include <time.h>main(){ int x,guess; srand((unsigned int)time(NULL)); guess=rand()%100; while(1){ printf("请输入数 阅读全文