#include <stdio.h>
#include<string.h>
int main() {
char password[]= 'a';
char input[15];
int match;
printf("password :%c");
scanf("%c",&input);
match = strcmp(input, password);
if (match == 0){
puts("password accepted");
} else{
puts("invalid password. alert the authoritee");
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: