Because the string is invalid or your source is not attached to your search engine.
Answer:
The following code as follows:
Code:
max=name1; //define variable max that holds name1 variable value.
if (strcmp(name2, max)>0) //if block.
{
max=name2; //assign value to max.
}
if (strcmp(name3,max)>0) //if block.
{
max=name3; //assign value to max.
}
Explanation:
In the above code, we define a variable that is max. The data type of max variable is the same as variables "name1, name2, and name3" that is "char". In the max variable, we assign the value of the name1 variable and use if block statement two times. In if block, we use strcmp() function that can be defined as:
- In first if block we pass two variables in strcmp() function that is "name2 and max" that compare string value. If the name2 variable is greater then max variable value so, the max variable value is change by name2 variable that is "max=name2".
- In second if block we pass two variables in strcmp() function that is "name3 and max" that compare string value. If the name3 variable is greater then max variable value so, the max variable value is change by name3 variable that is "max=name3".
Answer:
C
Explanation:
Key logging is when a hacker can track every key u have clicked.
Answer:
<h2>Hot you too friend's house and be safe and have a great time to take care of the following is not a characteristic it was a circle whose equation o</h2>
Answer:
public class num8 {
public static void main(String[] args) {
System.out.println("Average Temperature in New York is 85 degrees fahrenheit");
System.out.println("Average Temperature in Denver is 88 degrees fahrenheit");
System.out.println("Average Temperature in Phoenix is 106 degrees fahrenheit");
// Calculating the new average Temperatures
System.out.println("The New Average Temperature in New York " +
"is "+ ((0.02*85)+85 )+ " degrees fahrenheit");
System.out.println("The New Average Temperature in Denver " +
"is " +((0.02*88)+88 )+ " degrees fahrenheit");
System.out.println("The New Average Temperature in Phoenix " +
"is "+((0.02*106)+106 )+ " degrees fahrenheit");
}
}
Explanation:
- Using Java first display the previous average temperatures for the three cities as given in the question
- Then calculates the new average temperature by multiplying by 0.02, because of a 2 percent increase in the average temperature
- Display the new temperature using the System.out,println