Answer:
public static void quad(double a, double b, double c) {
double D = (Math.pow(b, 2)) - (4 * a * c);
if (D<0){
System.out.println("no real solutions");
}
}
Explanation:
The code snippet above implements the function in Java programming language
As required by the question, the line double D = (Math.pow(b, 2)) - (4 * a * c); evaluates b squared" - 4ac and assignes the value to the variable D
An if statement is used to test if D is less than 0, if this is true the message no real solutions is printed
Answer:
print("I like to code")
Explanation:
In the Programming Languages, print() function is used to print any string, display any output or both at the same time as well as we can print it one by one. We can also print addition, subtraction, multiplication and other problems directly without saving it in other objects or variables.
In the above statement, the correct method of printing any string is to write that string inside the parameter with a double-quote.
The second option is incorrect because in it double-quote is not used.
The third option is incorrect because the following sequence is not correct.
Answer:
I would say true
Explanation:
Humans, by contrast, can master many things, from tying our shoes to cooking an omelet to solving complex math equations. The best AI hardly comes close to the incredible creativity and design of any human, and it’s an open question whether AI can ever become what its prophets claim. Second, when we make AI, we are basically copying our Creator.
Answer:
B. global
Explanation:
A global variable lives on even when a function returns.
I am guessing, my guess would be scientific research, managing entertainment, and video game designer