Answer:usbebdos did did I’d did d
Explanation:
Bash six ska over five. I did a sis a and
Answer:
A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file). Another specialized program, called a linker, combines this object file with other previously compiled object files (in particular run-time modules) to create an executable file. In short, it's A or D.
Answer:
Savings, Investments
Certificate of deposit Mutual fund
Account Money Market
Gold
Explanation:
Savings is the term used to describe the proportion of ones income not spent or kept for spending at a much later date;
Saving methods includes saving money in deposit accounts, pension savings, and cash savings as well as reducing expenditures
Savings differs from investment in the sense that investments involves more risks than savings
Mutual fund
Mutual fund is a financial resource type involving the bringing together of funds gathered from several investors for investment
Money market
The money market involves buying and selling debt investments that are short terms
Gold
Gold investment is a way of diversifying risk through futures and derivatives and futures contracts
Certificate Deposit
Certificate deposit is a fixed term deposit form of savings that provides an interest on the deposit
Account
Savings and current account are meant for saving funds
Answer:
- public class FindDuplicate{
-
- public static void main(String[] args) {
- Scanner input = new Scanner(System.in);
-
- int n = 5;
- int arr[] = new int[n];
-
- for(int i=0; i < arr.length; i++){
- int inputNum = input.nextInt();
- if(inputNum >=1 && inputNum <=n) {
- arr[i] = inputNum;
- }
- }
-
- for(int j =0; j < arr.length; j++){
- for(int k = 0; k < arr.length; k++){
- if(j == k){
- continue;
- }else{
- if(arr[j] == arr[k]){
- System.out.println("True");
- return;
- }
- }
- }
- }
- System.out.println("False");
- }
- }
Explanation:
Firstly, create a Scanner object to get user input (Line 4).
Next, create an array with n-size (Line 7) and then create a for-loop to get user repeatedly enter an integer and assign the input value to the array (Line 9 - 14).
Next, create a double layer for-loop to check the each element in the array against the other elements to see if there is any duplication detected and display "True" (Line 21 - 22). If duplication is found the program will display True and terminate the whole program using return (Line 23). The condition set in Line 18 is to ensure the comparison is not between the same element.
If all the elements in the array are unique the if block (Line 21 - 23) won't run and it will proceed to Line 28 to display message "False".