Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can anyone draw me a flowchart or write pseudocode for the code below? PLEASE WOULD BE A GREAT HELP. wwwNNNNNNNNN 10000NOCO 10 #include 11 #include

Can anyone draw me a flowchart or write pseudocode for the code below? PLEASE WOULD BE A GREAT HELP.

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

wwwNNNNNNNNN 10000NOCO 10 #include 11 #include 12. #include 13 #include "header.h" 14 #include "Sort.c" 15 #define size 10 16 17 // Gobal variable 18 struct array a[size]; 19 listptr startptr=NULL; 20 21 int linearSearch (struct array a[], char search[], int arraysize)|| 22 23 int i; 24 for (i = 0; i string, a[i].string); 57 newptr->numl=a[i].numl; 58 newptr->num2=a[i].num2; 59 newptr->num3=a[i].num3; 60 61 newptr->next=NULL; 62 if (startptr==NULL) // initializing the node 63 { 64 startptr=newptr; 65 Helse 66 { 67 crntptr=startptr; 68 while (crntptr->next !=NULL) 69 { 70 crntptr=crntptr->next; 11 45 DOWN 77 COCO COCO O 71 } 72 crtptr->next=newptr; 73 } 74 75 } 76 void menu () 78 U 79 printf(" FUNCTION "); 80 printf("[1] Display string "); 81 printf("[2] Sort the string "); 82 printf("[3] Enter string to search for a string element "); 83 printf("[4] upload array into linkedlist "); 84 printf("[5] End program "); 85 } 86 87 void printlinkedlist() 88 0 89 printf ("String numl num2 Double "); //print the header 90 listptr currentptr= startptr; 91 92 while (currentptr != NULL) { 93 printf("%10s\t%d\t%d\t%.21f ", currentptr->string, currentptr->numl, currentptr->num2, currentptr->num3); 94 currentptr = currentptr -> next; 95 96 } 97 98 99 void printarray() 100 l 101 printf("String numl num2 Double "); //print the header 102 for (int i=0;i

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

6. Explain the strengths of a dialectical approach.

Answered: 1 week ago

Question

Explain Coulomb's law with an example

Answered: 1 week ago

Question

What is operating system?

Answered: 1 week ago

Question

What is Ohm's law and also tell about Snell's law?

Answered: 1 week ago

Question

Question Can a Keogh plan fund be reached by the owners creditors?

Answered: 1 week ago

Question

Question What happens to my plan if I die?

Answered: 1 week ago