For the variable pettoremove, I can't get the scanf to work and the program doesn't work if I don't preset pettoremove a number. That number never changes, and I don't know why and I can't make it work. Is it because it's in a look, I have to use pointers somehow?
void deletepet(pet petarray, int numberofpets)
printf("Enter the number of the pet you want to remove from the archive: ");
printf("That's totally a valid entry\n");
printf("That's not a valid entry\n");
printf("So I made sure bad stuff won't happen, now CODE MOAR STUFF HERE\n");