比较用户键盘输入的口令userInput与内设的口令password是否相同
#include <stdio.h>
#include <string.h>
int main()
{
char password[7] = "secret";
char userInput[81] ;
printf("Input Password:");
scanf(_____________);//第8行
if ( ______________ )//第9行
printf("Correct password! Welcome to the system...\n");
else if ( ___________________) //第11行
printf("Invalid password!user input<password\n");
else
printf("Invalid password!user input>password\n");
return 0;
}
能给个大致思路吗?谢谢!