217k views
1 vote
JAVVVAAAAAA HELPPPP EDHESIVE ​

JAVVVAAAAAA HELPPPP EDHESIVE ​-example-1

1 Answer

6 votes

Answer:

Here's some really bad code that works:

public static double average(int a, int b, int c, int d, int e)

{

return (((double)a + b + c + d + e) / 5);

}

User Emanuel Ey
by
3.4k points