Q.1: Write a program/function to take any number as input and return the ordinal number of that number
1 = 1st 2 = 2nd 3 = 3rd 4 = 4th 11 = 11th 112 = 112th 110001 = 110001st 1124 = 1124th 500 = 500th 62 = 62nd 77 = 77th 11281 = 11281st 99 = 99th 100000 = 100000th
Q.2:Write a program to print alphabet 'M' pattern using * . Take input from user for the size of pattern.

Q.3: Write a program to print triangle pattern. Take input from user for the size of pattern.

Q.4: Write a program to print full star diamond pattern. Take input from user for the size of pattern.
