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
Math,
21 days ago
Physics,
21 days ago
Computer Science,
21 days ago
Math,
1 month ago
Political Science,
1 month ago
Math,
8 months ago