Answer:
strcmp() is a built-in library function and is declared in <string. h> header file. This function takes two strings as arguments and compare these two strings lexicographically.
Explanation:
Hope it helps
Answer:
The code to this question can be given as:
Code:
int callsReceived,operatorsOnCall; //define variable as integer
Scanner ob= new Scanner(System.in);
//create object of scanner class for user input
System.out.println("Insert the value of callsReceived"); //print message.
callsReceived = ob.nextInt(); //input value.
System.out.println("Insert the value of operatorsOnCall"); //print message.
operatorsOnCall = ob.nextInt(); //input value.
if (operatorsOnCall == 0) //check number
{
System.out.println("INVALID"); //print message.
}
else
{
System.out.println(callsReceived/operatorsOnCall); //print value.
}
Explanation:
In the above code firstly we define 2 integer variable that name is already given in the question. Then we create the scanner class object for taking user input. Then we print the message for input first and second value from the user. then we use conditional statement. If the second variable that is operatorsOnCall is equal to 0. So It print INVALID. else it divide the value and print it.
Answer:
D. It is a program that checks for grammatical errors.
These are the steps you would take..
click on insert at the bar on the top of the document processor (Word,Google Docs ect.) >>Click table drag as many columns and rows as you need!
I hope this helps!
<span>The destination address field must contain the MAC address.
The MAC address is needed to help find a device for an ARP request.</span>
All hosts on the LAN will receive this broadcast frame. The host with the IP address of 192.168.1.1 (default gateway) will send a unicast reply to the source (PC host). This reply contains the MAC address of the NIC of the Default Gateway.