I am new to C and I am trying to input a 2d array from the user (integers) and want when the program prints the array it would simply be printed with a frame of for example "& or $" any symbol.
This is how the input is:
1 2 3
4 5 6
7 8 9
and the output should be like this:
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.Code:a b c & & & & & a & 1 2 3 & b & 4 5 6 & c & 7 8 9 & & & & & &



1Likes
LinkBack URL
About LinkBacks



