Hello all,

i have a little problem printing the upper symmetry of the multiplication as shown in the attachment (in C).

can anyone help?

Um, upper symmetry? Would you care to define that for us?

hello, thanks for the reply.

i meant only the upper half of the table. i have displayed the lower half (as you can see from the attached file) and i can display the full table. I'm trying to display only the upper half.

thanks

You mean like this?

#include <stdio.h>

#define LIMIT 10

int main ( void )
{
  int x;
  int y;

  for ( x = 1; x < LIMIT; x++ ) {
    for ( y = 1; y < LIMIT - x + 1; y++ )
      printf ( "%5d", x * y );

    puts ( "" );
  }
}