Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void printFinalBoard (int row, int col, int sp, int end, int step)
- {
- int count;
- for (int i=0; i< row; i++)
- {
- for (int j=0; j<col; j++)
- {
- if (( sp % step) == 0)
- cout << setw(2) << setfill('0') << count << " ";
- else
- cout << "** ";
- count++;
- }
- cout << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement