Exercise 8: WAP to Input 5 subject marks of a student and find total marks and percentage obtained by the student. 1
#Input 5 subject marks and find total and percentage | ankitweblogic.com
english=int(input("Enter English subject marks: "))
hindi=int(input("Enter Hindi subject marks: "))
math=int(input("Enter Math subject marks: "))
science=int(input("Enter Science subject marks: "))
computer=int(input("Enter Computer subject marks: "))
total=english+hindi+math+science+computer
percentage=total/5
print("Total Marks = " ,total)
print("Percentage = " ,percentage)