Support our Blind Hand Charity by donating at 9818291723. Your contribution has the potential to bring about significant positive change for humanity.

Search This Blog

MY PROGRAMMES

Saturday, April 1, 2023

PERCENTAGE CALCUALTOR

CALCULATE YOUR PERCENTAGE OUT OF 100 

A=input("Enter your Name = ")

B=int(input("Enter your Age = ",))

C=float(input("Marks of First Subject = "))

D=float(input("Marks of Second Subject = "))

E=float(input("Marks of Third Subject = "))

F=float(input("Marks of Fourth Subject = "))

G=float(input("Marks of Fifth Subject = "))

H=(C+D+E+F+G)/5

print("\n","Your marks are:-","\n","First Subject = ",C,"\n","Second Subject = ",D,"\n","Third Subject = ",E,"\n","Fourth Subject = ",F,"\n","Fifth Subject = ",G,"\n")

print("Your Percentage is = ",H,"%")

OUTPUT