考试啊 !!!!!求大神啊!!!!
dos吧
全部回复
仅看楼主
level 1
华修真0k8 楼主
设计一个DOS系统下的登录界面,运行程序后,提示"please input your password"如果从键盘输入的是12345678,屏幕显示“right”,否则显示“wrong”
2014年05月23日 14点05分 1
level 9
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void main()
{
int a[9]={1,2,3,4,5,6,7,8},b[9],c;
printf(""please input your password");
get(b);
c=strcmp(a,b);
if(c==0) printf("right");
else printf("wrong");
}
2014年05月29日 12点05分 2
1