This is how the input is:
1 2 3
4 5 6
7 8 9
and the output should be like this:
Code:
a b c & & & & & a & 1 2 3 & b & 4 5 6 & c & 7 8 9 & & & & & &
later the input of the user will change and the frame shouldn't change, is there anyway to make two 2d arrays to print into each other, so no matter what i change in one array wont effect the other and they will print this way, assuming the ratio of both arrays will always be this way? I been trying to do this for a while now but nothing is working.( the letters and "&" are the frame) and if the user declares the array size to be bigger than 3 by 3, and inputs it, the frame should be bigger as will.
I would really appreciate it if some1 shows me how this can be done in code.


Sign In
Create Account

Back to top










