MCPcopy Create free account
hub / github.com/Hazrat-Ali9/Computer-Programming / main

Method main

Problem12.java:7–19  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

5public class Problem12 {
6
7 public static void main(String[] args) {
8 // TODO Auto-generated method stub
9
10 Scanner input = new Scanner(System.in);
11 int T = input.nextInt();
12
13 for (int i = 0; i < T; i++) {
14 int n = input.nextInt();
15 System.out.println(evenodd(n));
16 }
17 input.close();
18
19 }
20
21 public static String evenodd(int n) {
22 String result = "";

Callers

nothing calls this directly

Calls 1

evenoddMethod · 0.95

Tested by

no test coverage detected