Challenge #1 please check if this is good. Thanks :)

#include
#include
#include
#include
#include
int main()
{

char password[20];
int upperC,lowerC,digit,symbol;
upperC = lowerC = digit = symbol = 0;
int len,ctr;
printf("Enter a password (containing an upper case,a number and a $ sign) \n");
scanf(" %s",password);
len = strlen(password);
if(len>=8) {
for(ctr=0;ctr=1 && lowerC>=1 && digit>=1 && symbol