Pregunta de entrevista de ARS T&TT

Write an application for reading the content from a file and do the functionalities for different scenarios given