Computer Science, asked by anantimalsom, 1 year ago

WAP to input 3 subject marks of a student now print the sum and average​

Answers

Answered by kingcobra1
3

Answer:

public class subject

{

public static void main(int a,int b,int c)

{

double d=a+b+c;

double e=d/3;

System.out.println("sum is"+""+d);

System.out.println("average is"+""+e);

}

}

Answered by NeerajKrishna
0

Answer:

please provide your programming language option

C++, Python, Java etc

Explanation:

Similar questions