I was given this block of code and I don't really understand it. I was told it's the same as an If Else statement. Could someone write this as an If Else statement so it's easier for me to understand it?
( i == j || i + j == n + 1 ) ? printf( "*" ) : printf( " " );
printf( "\n" );