- Create a new Xcode command-line project. Name the project Assignment-11-1.
#include <objc/objc.h>to the main.c file.
- Define a new
mainfunction that will hold the following information used by a pet adoption agency.
- Pet name
- Pet type
- Pet breed
- Write a function that has one parameter for the struct. The function will output the following with a
printfstatement with sample data.
- In the
mainmethod call the above function several times with different struct variables that hold data about various pets.