4 by 4 matrix proc - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

4 by 4 matrix proc

erldeeerldee Posts: 19Member
Hi

A program that reads 16 numbers (range 0-99) from standard input and displays them on the screen as 4 by 4 matrix.

e.g 0 23 54 200

55 21 43 65

43 77 83 92

123 65 87 9
It should perform this operations:

>Compute and display the sum of row 1.
>""""""""""""""""""""""""""""" column 2.
>Count and display the number of values greater than 100.
>Wait for a key to be pressed, interchange rows 1 and 2 and redisplay the matrix.

Thanx, God bless.([email protected]).
Sign In or Register to comment.