write algorithm, flowchart and code to infut marks of 3 subjects of a student and display his grade according to the following criteria.