Pergunta de entrevista da empresa Meditab Software

Write code to print star pattern on the screen.