Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void harvestAll(int numRows, int numCols)
- {
- int numLs = 0;
- if (numRows < numCols)
- {
- numLs = numRows;
- }
- else if (numCols < numRows)
- {
- numLs = numCols;
- }
- else
- {
- numLs = numRows;
- }
- for (int i=0;i < numRows; i++){
- pick2Rows(numRows - i,numCols - i);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement