CitiusTech Interview Question

Some pseudo codes for programs like factorial, prime number and star pyramid