用C程序编程:判断密码正误

2025-05-22 21:47:37
推荐回答(1个)
回答1:

#include
void main()
{
float a=123456,b;
scanf("%f",&b);
if(b==a)
printf("your password is right!");
else
printf("wrong!");

}