A, B, C, and D are two-dimensional arrays , all of the same size ,and all of type double . I need code fragment that computes D = A + B + C, where each element of D is the sum of the corresponding elements of A, B and C. Also two integer variables numRows and numCols that denote the number of rows and columns in each matrix.
fashxfreak
3
Newbie Poster
Recommended Answers
Jump to PostDid you try attempting the question?
All 3 Replies
kal_crazy
13
Junior Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.