Write pseudocodenbspusing a two dimensional array that will


Write pseudocode using a two dimensional array, that will fill that array with random numbers, find the largest number in each column, the smallest number in each row. Then find the smallest of the largest numbers, and the largest of the smallest numbers. Print the main array to. Print the largest number array and its smallest number. Print the smallest number array and it's largest number.   Use modules to simplify the top level logic. 

Please use the attached example for formatting with the pseudocode. The attached document is just for formatting.

(a)           A000 (Module title)

                                Start

                                Process initialization (B000)

                                Input array (B010)

                                Compute totals (B020)

                                Output totals (B030)

                                Stop

 

                                B000                                                                                      B010

                                Enter                                                                                      Enter

                                GRAND = 0                                                                          I = 1

                                I = 1                                                                                        DOWHILE I ≤ 3

                                DOWHILE I ≤ 3                                                                  J = 1

                                                TOTAL(I) = 0                                                                       DOWHILE J ≤ 18

                                                I = I + 1                                                                                  Read SALES(I,J)

                                ENDDO                                                                                                 J = J + 1

                                Return                                                                                                    ENDDO

                                                                                                                                                I = I + 1

                                                                                                                                ENDDO

                                                                                                                                Return

                                B020

                                Enter

                                I = 1

                                DOWHILE I ≤ 3

                                                J = 1

                                                DOWHILE J ≤ 18

                                                                TOTAL(I) = TOTAL(I) + SALES(I,J)

                                                                J = J + 1

                                                ENDDO

                                                I = I + 1

                                ENDDO

                                Return

 

                                B030

                                Enter

                                I = 1

                                DOWHILE I ≤ 3

                                                GRAND = GRAND + TOTAL(I)

                                                Write TOTAL(I)

                                                I = I + 1

                                ENDDO

                                Write GRAND

                                Return

Solution Preview :

Prepared by a verified Expert
Management Information Sys: Write pseudocodenbspusing a two dimensional array that will
Reference No:- TGS01302371

Now Priced at $20 (50% Discount)

Recommended (99%)

Rated (4.3/5)