Read Name1, Age1 Read Name2, Age2 If Name1 > Name2 Swap Name1 and Name2 Swap Age1 and Age2 Output Name1 and Age1 Output Name2 and Age2
Write a program that stores the integer marks of a student for several items of assessment, each of equal value. The program outputs the total and average mark.