Answer:
The program in Java is:
import java.util.Scanner;
public class MyClass {
public static void main(String args[]) {
Scanner input = new Scanner(System.in);
int n;
n = input.nextInt();
int [] mylist = new int[n+1];
mylist[0] = n;
System.out.print("List elements: ");
for(int i = 1;i<n+1;i++){
mylist[i] = input.nextInt();
}
int min,max;
System.out.print("Min & Max: ");
min = input.nextInt();
max = input.nextInt();
for(int i=1; i < mylist.length; i++){
if(mylist[i]>=min && mylist[i]<=max){
System.out.print(mylist[i]+" ");
}
}
}
}
Explanation:
This line declares length of list
int n;
This line gets length of list
n = input.nextInt();
This line declares the list/array
int [] mylist = new int[n+1];
This line initializes the element at index 0 to the length of the list
mylist[0] = n;
This prompts user for elements of the list/array
System.out.print("List elements: ");
The following iteration gets list elements
for(int i = 1;i<n+1;i++){
mylist[i] = input.nextInt();
}
This declares the lower and upper bound (min, max)
int min,max;
This line prompts user for elements of the list/array
System.out.print("Min & Max: ");
This next two lines get the bound of the list/array
min = input.nextInt();
max = input.nextInt();
The following iteration prints the elements in the range
for(int i=1; i < mylist.length; i++){
if(mylist[i]>=min && mylist[i]<=max){
System.out.print(mylist[i]+" ");
}
}
please help me
Match the technology with the appropriate task.
1. graphics software
2. word processor
3. CAD
4. laptop
5. GPS
Complete Question:
Match the technology with the appropriate task.
Column A
1. Graphics software
2. Word processor
3. CAD
4. Laptop
5. GPS
Column B
A. Create a company logo.
B. Get directions to a customer’s office.
C. Type a report.
D. Complete many types of tasks on a computer away from the office.
E. Design a building.
Answer:
1. A
2. C
3. E
4. D
5. B
Explanation:
1. Graphics software: it can be used to create a company logo. Some examples of software applications or programs are Adobe photoshop, Core-draw, illustrator etc.
2. Word processor: it is typically used for typing a text-based document. For instance, type a report. Some examples are notepad, Microsoft Word, etc.
3. CAD: design a building. CAD is an acronym for computer aided design used for designing the graphical representation of a building plan. An example is Auto-CAD.
4. Laptop: complete many types of tasks on a computer away from the office. A laptop is compact and movable, so it can be easily used in any location.
5. GPS: directions to a customer’s office. GPS is an acronym for global positioning system and it is typically used for locating points and directions of a place.
Answer:
1. A
2. C
3. E
4. D
5. B
If an insurance policy covers individual losses up to $10,000 and has a deductible of
$500, the insured will be paid how much in the event of a covered loss of $5,000?
Answer: $4500
Explanation:
The deductible is the amount that the insured that is, the policy holder will have to pay. In this case, there is a covered loss of $5000 and the insured has a deductible of $500.
Therefore, the amount that the insured will be paid will be the difference between $5000 and the deductible of $500. This will be:
= $5000 - $500
= $4500
rheumatoid arthritis is caused when
Answer:
caused by the immune system attacking healthy body tissue.
Explanation:
all though they are not sure what triggers it
Universal Container wants to understand all of the configuration changes that have been made over the last 6 months. Which tool should an Administrator use to get this information
Answer:
Set up audit trail
Explanation:
The administrator should set up an audit trail in order to get this information.
An audit trail would give him the record of all the configuration changes that have been made in a file or a database in the last 6 months.
Audit trails can be manual or electronic. It provides history and also documentation support. It can authenticate security and also help to mitigate challenges.