Skip to content

Opening book details…

About this document

C++ Matrix Sum and Average Calculation by ANDREEA MAVROMALIDE is a document available to read on EtoBox.

This C++ program takes input of two 2D arrays a and v of size n x n, calculates the sum of elements in a along the secondary diagonal that are divisible by 7 and sums elements in v above the secondary diagonal that are even, adds the two sums and outputs them along with the average of specific elements in a and v.

Author
ANDREEA MAVROMALIDE
Language
EN