Java Taskbook Level 3.4
Given an array of numbers
int[] arr = [1, -2, -3, 4, -5, 6];
Count the number of negative numbers in this array.
Given some integer:
int num = 1357;
Check that all digits of this number are odd.
Given a number:
int 12345
Get an array of digits of this number:
byte[] {1, 2, 3, 4, 5}
Two arrays are given:
int[] arr1 = [1, 2, 3];
int[] arr2 = [4, 5, 6];
Combine these arrays into one:
int[] {1, 2, 3, 4, 5, 6}