Write a program to calculate
a. Sum of diagonal elements of matrix.
b. Sum of second diagonal elements of matrix

Recommended Answers

All 2 Replies

plz give rply as soon as possible

Write a program to calculate
a. Sum of diagonal elements of matrix.
b. Sum of second diagonal elements of matrix

And...why do I have to do this when the assignment has been given to you?
I suggest you to have a nice read: http://www.daniweb.com/forums/announcement8-2.html :)
Come back when you've something to show us.

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.