Change (103) to base 2 in binary number?
Question2 outputs) Wr difference, the product, the average, the distance (assuming the two entered numbers are x,y coordinates) from the origin, the maximum (the larger of the two integers), the minimum (smaller of the two integers). 2: (section 350; optional for (001/002) (18 points: 4 points for inputs, 2 points for each ite a Java program that accepts two integers from the user and then prints the sum, the Your console output should be something similar to: Input 1st integer: 31 Input 2nd integer: 39 Sum of two integers: 70 Difference of two integers: -8 Product of two integers: 1209 Average of two integers:35.00 distance 49.8196748283246 Distance of two integers: 8 Max integer: 39 Min integer: 31 Question3: (8 points) Write a Java program to break an integer into a sequence of individual digits in reverse order. (hint use the modular operation) For example: Input six non-negative digits: 987654 Expected Output: 456789 Question4: (12 points) Write a java program to remove duplicate elements from an array. Do not use Java library utilities or 3'e party tools to solve this problem. You need to use the "for loop and manage the index as you traverse thru the array [i ] while looking for duplicates. For example: Example 1 Original Array: 105 123 -921 -1 123 8 8 8 -921 Array with unique values: 105 123 -921 -1 8 Original Array: 10 22 120 11 Array with unique values: 22 22 11 20 Question3: (8 points) Write a Java program to break an integer into a sequence of individual digits in reverse order. (hint use the modular operation). For example: Input six non-negative digits: 987654 Expected Output 456789 Question4: (12 points) Write a java program to remove duplicate elements from an array. Do not use Java library utilities or 3rd party tools to solve this problem. You need to use the "for loop" and manage the index as you traverse thru the array [i ] while looking for duplicates. For example: Example 1 - Original Array: 105 123 -921 -1 123 8 8 8 -921 Array with unique values: 105 123 921 -1 8 Example 2... Original Array: 10 22 10 20 11 22 22 Array with unique values: 10 22 11 20