1 5 7
3 2 4
6 8 9
if i add the diagonal the sum is (1+2+9=12) one more diagonal (7+6=13) i dint include 2 because its already added...want the out put 12+13=25
can anyone tell me c# code for this plz
sivak -7 Junior Poster
AgilE 0 Newbie Poster
sivak -7 Junior Poster
Geekitygeek 480 Nearly a Posting Virtuoso
arunkumars 14 Junior 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.