Computer Science, asked by Anonymous, 7 months ago

write a program in Java to input three numbers and compute their average..

pls help to solve it.... and pls solve it correctly...​

Answers

Answered by raimaaaa
3

Explanation:

public class q1

{

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

{

int sum = a+b+c;

int avg = sum/3;

System.out.println ("The average of the given numbers =" +avg);

}

}

Similar questions