HCLTech Interview Question

Code a loop in sightly?