-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
34 lines (30 loc) · 1.54 KB
/
Main.java
File metadata and controls
34 lines (30 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import dayNine.IsPrime;
import daySevenEight.BreakCamelCase;
public class Main {
public static void main(String[] args) {
// System.out.println( Exercicio.countBits(2));
// System.out.println(Exercicio.check("bab klzx"));
// EvenOrOdd.evenOrOdd(10);
// EvenOrOdd.evenOrOdd(23);
// Boolean[] sheeps = {true, false, true, false, true, false, true, false, false, false, false, true, true};
// CoutingSheep coutingSheep = new CoutingSheep(sheeps);
// System.out.println(coutingSheep.countSheeps());
// System.out.println(Arrays.toString(SplitStrings.solution("abcdef")));
// SplitStrings.solution("abcdef");
// SplitStrings.solution("abc");
// String noNames[] = new String[0];
// String twoNames[] = {"Alex", "Jacob"};
// String threeNames[] = {"Alex", "Jacob", "Mark"};
// String fourNames[] = {"Alex", "Jacob", "Mark", "Max"};
// System.out.println(WhoLikesIt.whoLikesIt(noNames));
// System.out.println(WhoLikesIt.whoLikesIt(twoNames));
int[] test1 = {5, 8, 6, 3, 4};
int [] test2 = {9, 8, 7, 6, 5, 4, 3, 2, 1, 0};
int [] test3 = {73, 99, 53, 18, 44, 10, 90, 43, 26, 26, 0, 10, 92, 25, 34, 66, 56, 22, 27, 62, 81};
// Arrays.toString(SortTheOdd.sortArray(test1));
// System.out.println( Arrays.toString(SortTheOdd.sortArray(test3)));
// System.out.println( BreakCamelCase.camelCase("camelCasingTest"));
System.out.println(IsPrime.isPrime(1));
System.out.println(IsPrime.isPrime(4));
}
}