HERE Technologies interview question

write program to print inverted triangle