@architsuryavanshi just print stars 2*(n-i)-1 times after printing j
here corrected code dont forget to hit like and mark the doubt resolved @architsuryavanshi