Q4. Write C++ program, using for loop statement to print the following pattern:
1#2#3#4#5#6#7#8
*1#2#3#4#5#6#7#8 1#2#3#4#5#6#7#8 *1#2#3#4#5#6#7#8 1#2#3#4#5#6#7#8 *1#2#3#4#5#6#7#8
1#2#3#4#5#6#7#8 *1#2#3#4#5#6#7#8 1#2#3#4#5#6#7#8 *1#2#3#4#5#6#7#8 1#2#3#4#5#6#7#8 *1#2#3#4#5#6#7#8