djelad1

Untitled

Nov 28th, 2014
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. for (int i = 0; i < ROWS1; i++)
  2. {
  3. if (flag)
  4. {
  5. for (int j = COLS1 - 1; j > 0; i++)
  6. matrix[i][j] = value++;
  7. }
  8. else
  9. {
  10. for (int j = COLS1 - 1; j > 0; j--)
  11. matrix[i][j] = value++;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment