See the attached file for the question, please provide the codes only, I need to run in Visual studio. See the attached file for the question, please provide the codes only, I need to run in Visual studio.