Jordan Ahli Bank Interview Question

Write a code that prints the shown shape