title: How would you go through each row and each column seperatly in two dimensional array
body: <p>I am just curious as to how that is done. I am writing a small program to get a better understanding of two dimensional arrays. I want to know how I can go though each row and then each column separately using for loops.</p>
  
  <p>Lets say I have a 2D array that is made out of different letters. I want to go through each row and each column and check if a certain letter is there. Then I want it to print how many occurrences of this letter happened in each row and then each column.</p>
  
  <p>First index is row and second index is column.</p>