typedef struct electro
{
char name[20];
int access_number;
char address[50];
float balance_due;
};
electro account[10];
electro account[0].balance_due=$ 120.52;
electro account[0].address[50]={Cane Gardens};
Can someone tell em how to correct this piece of code. I'm using Codeblocks and it says it " expected an initializer before '.' " in the two last lines of this. It's not homework so please don't say your not going to do my homework for me. I did the program about a year ago, and just decided to fix the problem.