matrix function?

im trying to write a simple program for a class where u write a function that takes a number (n) and a character and prints a matrix of NxN then uses a menu to select the how the matrix works using a switch with a menu like

***Menu***
(1) 2x2 O's
(2) 3x3 X's
(3) 4x4 N's
(4) 5x5 A's
(5) 6x6 W's
(6) Quit
ive been trying for like two days and can do one or the other but not both together
Topic archived. No new replies allowed.