I am coding something and this should print "Good Job" but instead it is just saying "invalid lol,".
Here is my code:
#include <stdio.h>
#include <string.h>
fgets(line, 69, stdin);
if (strcmp(line, "stats") == 0)
{
printf("Good Job\n");
}
else
{
printf("Invalidlol\n");
{