Global Edge interview question

write a program to print numbers from n to 1