Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

the problem is a very comp ncate one, suc\"\'nding a cure ror cancer hm must be

ID: 3753056 • Letter: T

Question

the problem is a very comp ncate one, suc"'nding a cure ror cancer hm must be broken down into many parts, and the steps must be gone through, over and over, by many people Activity 3 heading for each lis. There should be r textbooks, find and record five separate enumerations. Write a There should be at least three items under each heading enrtions At the top of the first sheet of paper on which you do this activit name of the textbook you are using and the authors. Also inc page on which you find the text in reviewing your answers. A model follows. y, give the lude the number of the each enumeration, in case your instructor wants to refer to

Explanation / Answer

Dear the activity which you have posted is to be solved by using books and taking the help of books is against chegg guidelines.But i will help you but keep in mind that the book i refer wont be available to you as it is a old edition book but still i will try to solve your doubt.

If MY ANSWER IS HELPFUL PLEASE LEAVE A LIKE AS IT TAKE A LOT OF EFFORT TO ANSWER QUESTION AND YOUR LIKE WILL NOTIFY ME THAT MY EFFORT WAS WORTH IT.

I am using a book called An Introduction to the C Programming Language and Software Design Tim Bailey

Now lets learn about enum first

Enumeration (or enum) is a user defined data type in C. It is mainly used to assign names to integral constants, the names make a program easy to read and maintain.

/////////////////////////////////////////List of enumeration examples ////////////////////////////////////

e tag is the tag, and var is the definition of a variable. The names declared inside the enumeration are constants with int type.

Their values are these: a == 0 b == 1 c == 2 d == 20 e == 21 f == 22 g == 20 h == 21

The names a, b, and c all behave as if they were int constants when you use them; e var has type enum ee and ep is a pointer to enum ee.

enum week{Mon, Tue, Wed, Thur, Fri, Sat, Sun};

  

int main()

{

    enum week day;

    day = Wed;

    printf("%d",day);

    return 0;

}

I hope my answer will be helpful to you and in case any doubt still remains feel free to comment i will reply as fast as i can.

Thankyou