functions

how do i go about his question,am required to write code that prompts the user to enter 2 characters and an integer and the out put should display the characters with n columnz and n rows?
Last edited on
1. get the chars and the int
2. have 2 nested loops and output in them

1
2
3
4
5
6
for ( int i=0; i<n; i++ )
{
    for ( int j=0; j<n; j++ )
         //display the characters
    //Make a new line
}
Topic archived. No new replies allowed.