Computer Science, asked by Aditi3149, 1 month ago

Write a program in java to input five subject marks from user and calculate and print the total and percentage.​

Answers

Answered by ay2034482gamil
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 krishnajangid533
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