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 Member Posts: 19
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]).

Comments

  • Chris BrownChris Brown USAMember Posts: 4,624 ✭✭

    // http://forcoder.org // free ebooks and video tutorials about < Visual Basic, PHP, Visual Basic .NET, Objective-C, MATLAB, PL/SQL, Go, C, Ruby, Assembly, Perl, JavaScript, Java, Scratch, C++, C#, Swift, Python, R, Delphi Crystal, Scala, Julia, Logo, LabVIEW, Rust, Dart, Erlang, D, SAS, F#, Bash, Apex, Alice, Hack, VBScript, Lua, Kotlin, COBOL, Awk, Ada, Lisp, Scheme, ML, FoxPro, Fortran, Prolog, ABAP, Clojure, Transact-SQL /> ______________

Sign In or Register to comment.