Yeah no problem.
Using fflush() on stdin is actually undefined according to the standard. If you want to do it the right way I would do it like this:
Example:
Code:
char line[4096]; /* 4k is a large enough line, methinks */
printf("\nEnter First Name A Customer: " );
fgets(line, sizeof line, stdin);
sscanf(line, "%s", data[i].fname ); /* Read the horse's name */
printf("\nEnter %s's Last Name: ", data[i].fname );
fgets(line, sizeof line, stdin);
sscanf("%s", data[i].lname );
printf("\nEnter %s's Street Address: ", data[i].fname );
fgets(data[i].staddress, sizeof data[i].staddress, stdin);
printf("\nEnter Country Location of %s: ", data[i].fname );
fgets(line, sizeof line, stdin);
sscanf("%s",data[i].country );