Capgemini Interview Question

Write a program to print pattern ***** **** *** ** *