Help me with this code?

@Nitya_Somani atleast mention pattern name or number because ya pattern is distorted, how will i be able to know, what pattern you are trying?

its question number 19 of practice pattern




  •       *
    



@Nitya_Somani Hi nitya, i am attaching my code for ya reference, do dry run it for 5, you will be good to go