Advertisement
Guest User

Untitled

a guest
Mar 5th, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. public void harvestAll(int numRows, int numCols)
  2. {
  3. int numLs = 0;
  4.  
  5. if (numRows < numCols)
  6. {
  7. numLs = numRows;
  8. }
  9. else if (numCols < numRows)
  10. {
  11. numLs = numCols;
  12. }
  13. else
  14. {
  15. numLs = numRows;
  16. }
  17.  
  18. for (int i=0;i < numRows; i++){
  19. pick2Rows(numRows - i,numCols - i);
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement