Functions Questions
Functions Questions
[email protected]
Question 1 : Write a Java method to compute the average of three numbers..
Question 2 : Write a method named isEven that accepts an int argument. The method
should return true if the argument is even, or false otherwise. Also write a program to test your
method.
Question 5 :
Write a Java method to compute the sum of the digits in an integer.