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
Explanation:
Refactoring consists of improving the internal structure of an existing program's source code, while preserving its external behavior.
Answer:
She wanted to impress her friends with the latest phone.
Explanation:
Edu 2021
The period of third generation was from 1965-1971. The computers of third generation used Integrated Circuits (ICs) in place of transistors. A single IC has many transistors, resistors, and capacitors along with the associated circuitry. The IC was invented by Jack Kilby.