The code just won't compile. Can anyone see the problem with it?
Code:include <stdio.h> int main() { char password = "123"; char check; printf ("Please enter the password"); scanf( "%s",&check ); while ( check != password ) { printf ("Wrong password. Try again.\n"); scanf("%s", &check); } printf ("Password Correct"); return 0; }