In 19th pattern i had written this code but in output in 1st and last row we only want 7 stars but it is printing 8 stasr is my logic right or not?