You are on page 1of 1

int main()

char pass[10],password[10]="chackers"

int i=0

printf("\n\n\t\tEnter the password to login:")

scanf("%s",pass)

strcmp(pass,password)==0

True False

printf("\n\nPassword Match!\nLOADING") printf("\n\nWrong password!!\a\a\a")

i=0 printf("\nEnter 1 to try again and 0 to exit:")

scanf("%d",&main_exit)

i<=6 main_exit==1

True False True False

fordelay(100000000) system("cls") system("cls") main_exit==0

True False

printf(".") system("cls") printf("\nInvalid!")

menu() main()

i++ close() fordelay(1000000000)

getch() system("cls")

You might also like