https://medium.com/@vadhyarvip/accenture-pseudo-code-questions-with-solution-and-detailed-analysis-part-2-3f1f8eb47242