#include #include void main(){ char password[16] = "gerbil"; char buffer[16]; fgets(buffer, 16, stdin); puts(buffer); puts(password); if(!strncmp(buffer, password, strlen(password))){ printf("Good, you got the password right!\n"); printf("We'll tell you the plans for the new secret moon base now\n"); } else { printf("You don't know the password. Please go away\n"); } }