Can U find my error?

we notice that a extra * is being printed for 1st and last line so we basically run to 1 lesser j

Below is the updated code