题出自-------------------------零基础学C语言
#include<stdio.h>
#include<string.h>
int main()
{
char answer[20] = { "574824" };
char user[20];
puts("请输入取款密码:");
gets_s(user);
while (strcmp(user, answer) != 0)
{
puts("请再次输入取款密码:");
gets_s(user);
}
puts("密码正确,请输入取款金额!");
return 0;
}