The pet shop makes a card for each pet; struct Pet keeps the name and the age together. Use printf to show Mochi is 3, taking both the name and the age from pet.
Mochi is 3
#include <stdio.h>
struct Pet {
char name[20];
int age;
};
int main(void) {
struct Pet pet = {"Mochi", 3};
// your code here: print with pet.name and pet.age
return 0;
}
Run tries the examples. When they look right, Submit.