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:
To look up functions and their purposes
Explanation:
Edg
A designer should always balance the placement of text and
graphics and create room for every element to breathe. When this is followed,
the flyer template will create a feeling of balance and calm.
Consider adding a border: Borders can help your flyer or
newsletter stand out wherever it is placed. Selection of certain colors, Italics and ALL CAPS can draw attention to particular points in a text.
Boost contrast with style, color and font size: Always use
font weight to differentiate sections of text. Many fonts offer regular, bold
and light options for font weight.
Align text for a balanced look: A designer should consider
using a grid system that contains intersecting vertical and horizontal lines
that are often based on optimal proportions for the document’s size. Aligning
text in the center will give a pleasant symmetrical look.
The part of a computing device that is the biggest power consumer is;
Central Processing Unit
<h3>Central Processing Unit</h3>
The part of a computing device that cosnumes the most power is called the Central Processing Unit (CPU). This is due to the following reasons;
- The CPU consists of motherboard and battery that draws power from the socket.
- The Mother board is equipped with logic gates that are used to implement logic in the computer.
- The Logic gates are voltage signals that signify the binary information that are fed into the system.
Read more about Central Processing Unit (CPU) at; brainly.com/question/4558917