Question: use C language to do the code please B. Square odd elements in Link list Description First create a link list in positive way, Then

 use C language to do the code please B. Square odd

use C language to do the code please

B. Square odd elements in Link list Description First create a link list in positive way, Then Desgin a algorithm to square all the odd elements i in the link list, Then design an output function to print out all elements in one line. here is the data structure for Link List typedef int ElemType, typedef struct _Node{ ElemType data; struct _Node *next; }Node. *LinkList Input Input several positive integers in one line ended with - 1 separated by space Output Outut the all elements of the link list in one line, separated by one space. Examples input 1 2 3 4 5 6 -1 output 1 2 9 4 25 6-1

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 Databases Questions!