Hi! I'm new to CBoard and to programming so please bear with me. Imma noob.
Suppose I have this structure for Costumer Account:
And I have to compare the balance from something inputted.Code:typedef struct { char account[6]; int balance; }COSACC;
How do I do something like that as to not get a warning? Thanks so much!Code:printf("\n\nEnter New Balance: "); scanf("%d", &ab); strcpy(y[i].balance, ab);