Hi, Could anyone advise me. I am doing a project in C that requires a password. The problem I have is when the user types in the password, it is displayed on screen. How can the password entered be disguised as **.Thanks RC




void Password(void)
{

printf("\t\tPlease enter password ");
scanf("%s",Passwordin);

//check if user entered correct password marcie using strcmp

if(strcmp(Passwordin,"marcie")==0)
{
printf("\n\t\tWelcome\n");
clrscr();
}
else
{
// if password incorrect Password function recalled until correct Password entered
printf("\t\tincorrect password\n");
Password();
}
}