1st Diagonal:
for(int i=0;i< arr.length; i++)
SOP(arr[i][i]);
2nd Diagonal:
for(int i=0;i< arr.length; i++)
SOP(arr[i][arr.length - (i+1)]);
Tyre Expiry and Tyre Safety
15 years ago
This blog is created to discuss some of the interesting questions of J2EE world.
No comments:
Post a Comment