WAP to input 3 subject marks of a student now print the sum and average
Answers
Answered by
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
0
Answer:
please provide your programming language option
C++, Python, Java etc
Explanation:
Similar questions
Social Sciences,
6 months ago
Geography,
6 months ago
Math,
1 year ago
Math,
1 year ago
Sociology,
1 year ago