As it is a remote login to a 'server'; then TS for Administration
Answer :
All these are a type of computers and is used for processing data.
Explanation:
a. A small portable computer, such as a netbook -- 3. Tablet
b. A type of computer used by many people at the same time to allow access to the same secure data -- 4. Mainframes
c. A device that includes, text, and data capabilities -- 1. Smart phone
d. An individual’s personal computer that resides on a desk or table -- 6. Desktop
e. A computer that combines the features of a graphic tablet with the functions of a personal computer; sometimes called a tablet PC -- 5. Notebook
f. A large and powerful scientific computer that can process large amounts of data quickly -- 2. Super computer
g. The coded instructions that tell a computer what to do; also to write the code for a program -- 7. Program
h. Is a machine that changes information from one form into another by performing four basic actions -- 8. Computer
Answer:
import java.util.Arrays;
import java.util.Scanner;
public class LatinHire {
public static void main(String[] args) {
Scanner in = new Scanner (System.in);
System.out.println("Enter Five integers");
int num1 = in.nextInt();
int num2 = in.nextInt();
int num3 = in.nextInt();
int num4 = in.nextInt();
int num5 = in.nextInt();
int [] intArray = {num1,num2,num3,num4,num5};
System.out.println(Arrays.toString(intArray));
System.out.println("The Maximum is "+returnMax(intArray));
System.out.println("The Minimum is "+returnMin(intArray));
}
public static int returnMax(int []array){
int max = array[0];
for(int i=0; i<array.length; i++){
if(max<array[i]){
max= array[i];
}
}
return max;
}
public static int returnMin(int []array){
int min = array[0];
for(int i=0; i<array.length; i++){
if(min>array[i]){
min= array[i];
}
}
return min;
}
}
Explanation:
- This is implemented in Java Programming Language
- Two Methods are created returnMax(Returns the Maximum Value of the five numbers) and returnMin(Returns the minimum of the five numbers)
- In the Main method, the user is prompted to enter five numbers
- The five numbers are saved into an array of integers
- The returnMax and returnMin methods are called and passed the array as parameter.
- The entire array of numbers inputted by the user as well the Max and Min are printed