How do I replace symbols in a matrix?

0 votes
asked Mar 26 by Pedro Rendon (120 points)
***My Code in C***


int main() {

    int i = 0;
    int j = 0;
    int h;
    char x = '+';
    char y = '%';
    int matrix[7][7];
    for (i = 0; i < 7; i++) {
        for (j = 0; j < 7; j++) {
            printf("\t%c", x);


        return 0;


I need to replace the symbols under the blue line.

Image of which symbols I am trying to replace:

(ignore the old old code in the picture)

Thank you.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.