Answer:
<em>C++</em>
///////////////////////////////////////////////////////////////////////////////////////////
#include <iostream>
using namespace std;
//////////////////////////////////////////////////////////////////
class QuadraticEquation {
int a, b, c;
public:
QuadraticEquation(int a, int b, int c) {
this->a = a;
this->b = b;
this->c = c;
}
////////////////////////////////////////
int getA() {
return a;
}
int getB() {
return b;
}
int getC() {
return c;
}
////////////////////////////////////////
// returns the discriminant, which is b2-4ac
int getDiscriminant() {
return (b*2)-(4*a*c);
}
int getRoot1() {
if (getDiscriminant() < 0)
return 0;
else {
// Please specify how to calculate the two roots.
return 1;
}
}
int getRoot2() {
if (getDiscriminant() < 0)
return 0;
else {
// Please specify how to calculate the two roots.
return -1;
}
}
};
//////////////////////////////////////////////////////////////////
int main() {
return 0;
}
Answer:
True
Explanation:
In order to be compliant with the NIST publications, policies must include key security control requirements. One of these key requirements includes certification and accreditation, which is a process that occurs after the system is documented, controls tested, and risk assessment completed. It is required before going live with a major system. Once a system is certified and accredited, responsibility shifts to the owner to operate the system is a true statement.
Answer:

Explanation:
Given

Required
Write an equivalent expression in C
The given expression uses + and + is represented as + in C
So: The equivalent expression is

However, C supports compound assignment operators
So:
can be rewritten as

Answer:
D
Explanation:
Search engine optimization (SEO)
Answer:
5 hours 25 minutes
Explanation:
It takes 25 minutes to finish a hole
It takes 25*13 minutes to finish 13 holes
325 minutes is require to finish 13 holes
Convert 325 minutes to hours and minutes by dividing it by 60
=5 5/12 hours
Convert 5/12 hours to minutes by multiplying by 60
=25 minutes
The answer is 5 hours 25 minutes