Question: Please help me with this program: Assignment purpose: user defined structure types ( structs ) You will change the provided card.c code to a different

Please help me with this program:
Assignment purpose: user defined structure types (structs)
You will change the provided card.c code to a different struct, one student will implement struct for an animal:
reptile
char array for the animal name, no white space, example: seaTurtle or sea_turtle
char array for the color
double for the average weight
If you do not work with another student, implement either one (reptile or bird)
Student 1: struct reptile
Example: seaTurtle
green
150.5//weight in pounds
This is a sample code to get started:
/* name, date, brief description STUDENT 1
*/
#define _CRT_SECURE_NO_WARNINGS
#include
#include
#define SIZE 40
typedef struct{
char name[SIZE];
char color[SIZE];
double weight;
}reptile;
//Function Prototypes
// fills the data fields of a reptile instance
//returns the filled reptile
reptile FillReptile();
//fills the data fields of a reptile instance
//by reference using a pointer to a reptile
void FillReptilePtr(reptile *reptilePtr);
//fills an array of reptiles
void FillReptileArray(reptile reptileList[], int *size);
//displays one reptile
void DisplayReptile(reptile anyReptile);
int main()
{
return 0;
}
//Function Definitions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!