java program to find percentage of five subjects