write an algorithm that gets four numbers corresponding to scores received on three semesters tests and a final examination . your algorithm should compute and display the average of all four tests weighting the final exam twice s heavily as a regular test