Hexaware Technologies interview question

write a program in language to draw the pattern * * * * * * * * *