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

(a). Write a program that reads a list of integers from thekeyboard, creates a l

ID: 3611584 • Letter: #

Question

(a). Write a program that reads a list of integers from thekeyboard, creates a linked list from them, and prints theresult. Insert each integer into thetail.

    The list of the data is thefollowing: 12, 23, –56, 69, 71, 15, –36,-99

(b). Write a function that accepts the linked list of the(a), and returns the data in the node with the minimum keyvalue.

Explanation / Answer

/* the below code has all the function defined... I extended the code in the previous post and included the other twofucntions. */ #include using namespace std; struct node {     int value;     node * next; }; int length=0; int getMinimum(node* temp) {    int min=0, value;    min= temp->value;    for(int x=0; xvalue);        if(min > value)            min=value;        temp = temp->next;    }    return min;    } node* removeNegative(node* temp) {    int val=0;              int i=0, j=0;    j=length;           while((length>0) && ((temp->value)next;        length--;        i++;    }       if(length ==0)    {        cout