Write a program in java to input five subject marks from user and calculate and print the total and percentage.
Answers
Answered by
1
Answer:
Formula:
total = p + c + m + e + h.
average = total / 5.0.
percentage = (total / 500.0) * 100.
p, c, m, e, and h are the five subjects.
Answered by
0
Explanation:
formula
total =p+c+m+e+h
avarage =total /5.0
percentage =(total / 500.0) *100.
p,c,m,e and h are the five subjects
Similar questions