CS代考 COMP1110 Final Exam, Question 1i

package comp1110.exam;

* COMP1110 Final Exam, Question 1i
public class Q1Even {

Copyright By PowCoder代写 加微信 powcoder

* This function takes a positive integer, n, and returns an array
* of ints containing all even integers between 1 and n, inclusive of n.
* for example:
* n = 5
* the result will be
* {2, 4}
public static int[] even(int n) {
return null; // FIXME Question 1i: complete this function

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com