closed print following pattern using function

+1 vote
asked Jun 8 by lucky charmers (390 points)
closed Jun 8 by Admin
Print the following pattern using function

                           *****
           *****
           *****
           *****  
           *****
*****
*****
*****
*****
*****
closed with the note: We would recommend you to try out the problem by your own first.  And you may ask for help with the difficulty you are facing while solving the problem. Asking for complete solution is not recommended and won't be helpful for your learning.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...