
how to print a program which is sum and average of Korean (90), English(85), Mathematics(78), Biology(65), Chemistry(83)?

Java Find sum and average
class FindSum
{
public static void main(String[] args)
{
int Korean =90, English =85, Mathematics=78, Biology= 65, Chemistry=83;
int sum=Korean+English+Mathematics+Biology+Chemistry;
int average=sum/5;
System.out.println("Sum: "+sum);
System.out.println("Average: "+average);
}
}

Average Age of my class?
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.