Computer Science, asked by gurkirat99, 3 months ago

write a java program to print name and average of physics chemistry and biology Display the total marks and average where physics marks 76 chemistry 89 biology 88​

Answers

Answered by anukritichaudhary82
1

Answer:

class name

{

public static void main (String args [])

{

int a = 76, b = 89, c = 38 , d , e;

d = a+b+c ;

e = a+b+c / 2 ;

System.out.println ("Total Mark's " d);

System.out.println ("Average" e);

}

}

Similar questions