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
Computer Science,
12 days ago
Biology,
12 days ago
English,
12 days ago
Math,
25 days ago
Political Science,
25 days ago
Math,
8 months ago