What I am trying to do is to have the user input their information. Like state for example. I need to process this state abbreviation and output it as capital letters. I'm confused at how to do that because I am using structures. When I use what I am using below it tells me they are incompatible and it doesn't work. What should I do differently. I've tried pretty much everything. This is in C.
for (i = 0; i < 3 != '\0'; i++) {
people[i].state = toupper(people[i].state);
}