Answer:
//check which string is greater
if(strcmp(name1,name2)>0)
//assign name1 to first, if the
//name1 is greater than name2
first=name1;
else
//assign name2 to first, if the
//name2 is greater than name1
first=name2;
5)
//compare name1 and name2
if(strcmp(name1,name2)>0)
//compare name1 and name3
if(strcmp(name1,name3)>0)
//assign name1 to max, becuase
//name1 is greater than name2 and name3
max=name1;
Explanation:
Answer:
d. It is assumed that the search pool is ordered.
Explanation:
A binary search/logarithimic search/half interval search/binary chop refers to search algorithm in computer science that sorts data in array in key:value arrangements. In order to locate a value in binary search, the key to the value in a sorted array is located. A binary search is characterized by an ascending, descending order arrangement of the array.
Answer:
The biggest difference between enhanced keyboards is the 12 function keys running across the top of the keyboard, instead of 10 that run down the left side. Other changes include the addition of extra Ctrl, keys, Alt keys, and cursor arrow keys between the letter keys and numeric keypad on the right side.
Explanation:
Answer:
Option C: Organizational Chart.
Explanation:
The main goal, in this case, it's to help the team to know the company and its integrants.
An organizational chart -- also called organigram -- is the best tool to clarify how the Brazilian company works.
The organigram is a diagram that illustrates the structure of an organization, how one part its related to another, and the assigned responsibilities of each specific department. Through this tool, the team will have a clear idea of who their counterparts are and how their job is related to ours.
Answer:
Following are the program in java is given below
import java.util.*; // import package
public class Main // main class
{
public static void main(String[] args) // MAIN FUNCTION
{
Scanner scan2 = new Scanner(System.in);// scanner CLASS
System.out.println("Enter the Grade ");
char GRADE = scan2.next().charAt(0);//Read input by user
if(GRADE=='A' || GRADE=='B' || GRADE=='C' || GRADE=='D' || GRADE=='F' ) // //CHECK CONDITION
{
System.out.println("The GRADE is :" +GRADE); // display grade
}
else // Else block
{
System.out.println(" Input Error"); // display message
}
}
}
Output:
Enter the Grade
D
The GRADE is :D
Explanation:
Following are the description of program
- Create the object of scanner class for read the value of grade by the user .
- Read the value of "GRADE" variable by using the scanner class object scan 2
- Now check the condition in if block if the "GRADE" is 'A' or 'B' or 'C' or 'D' or 'F' then display the value of the GRADE variable otherwise else block is executed and input error message is displayed .