Lungi’s risk manager has advised him never to have more than 30 blankets in stock. Q.2.1 Write the pseudocode for two modules which could be incorporated into the application planned for Lungi in Question 1. The first module must: a. Allow Lungi to enter the description and size of the blankets. b. Store the details entered in arrays. c. Provide Lungi with the option to view the list of blankets captured. If Lungi wishes to view the list of blankets, the contents of the arrays should be passed to another module. The second module should: a. Receive the arrays as arguments. b. Write the contents of the arrays to a text file that Lungi can print.

Respuesta :

Using the knowledge of pseudocodes it is possible to organize the stock of a store with the correct amount of blankets.

Writing the code in pseudocode we have:

int blanket_info(30)

int blanket_disc,size_blanket,i,j;

for (i=0;i<n;i++){

insert the discription of every blanket (blanket_disc);

}

for(j=0;j<n;j++){

insert the size of blanket (size_blanket);

}

return arr [ ][ ];

int print_list()

end;,

See more about pseudocode at brainly.com/question/13208346

#SPJ1

Ver imagen lhmarianateixeira