Password Check
Password Check
#include <stdio.h>
#include <string.h>
}
if(flag1==1 && flag2==1 && flag3==1 && flag4==1)
{
res=1;
}
}
return res;
}
int main() {
// Write C code here
printf("Try programiz.pro\n");
char *pass ="a1fghjkl";
int res=password_check(pass);
if (res == 0)
{
printf("INVALID PASSWORD\n");
}
else
{
printf("VALID PASSWORD\n");
}
return 0;
}