Conduent Interview Question

Pro C question very basic