Answer:
public static int maxMagnitude(int a, int b){
int max;
if (a>b){
max = a;
}
else{
max = b;
}
return max;
}
The complete program calling the method is given in the explanation section
Explanation:
import java.util.Scanner;
public class ANot {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Please Enter two numbers");
int num1= in.nextInt();
int num2 = in.nextInt();
System.out.println("The largest magnitude number is: "+maxMagnitude(num1,num2));
}
public static int maxMagnitude(int a, int b){
int max;
if (a>b){
max = a;
}
else{
max = b;
}
return max;
}
}
The maxMagnitude() method uses if/else statement to compare two ints and return the larger one
It is the gap between demographics and regions.
Answer:
Excel 2016 is primarily a spreadsheet program.
Explanation:
Excel 2016 is a new version of the Microsoft Office which is available in Microsoft Office 2016. It is a spreadsheet program that has been run by windows platform.
- A spreadsheet program that represents the data into a sheet of paper that shows data in rows and columns.
- This software is used to construct calculation-specific text tables, numbers, and equations.
A minimum computer system with an Intel Pentium VI – 1000 MHz Processor or higher, at least 512MB of RAM, and at least 10 GB of hard disk space is required for server configuration in order for the Travel Agency System to be efficient and completely functioning.
Answer:
Using CSMA/CD to avoid collision.
Explanation:
If the channel is detected idle then the station does not transfer the second frame to avoid the collision by design of the CSMA/CD (Carrier sense multiple access / Collision detection). When received the protocol for first frame, a station to send second frame begins at step 2 rather than step1.
Explanation :
• Station A and Station B are transfers data frames, remain all not want to transmit data. In this situation, station A find the channel to be idle and send first frame then next second frame.
• Similarly B received the transfer data at the same time. Then leads to collision.
• Using CSMA/CD to avoid collision.