Answer:
Comparison.
Explanation:
When we have to find a largest in a list of n elements.First we have to iterate over the list so we can access all the elements of the list in one go.Then to find the largest element in the list we have to initialize a variable outside the loop with the minimum value possible and in the loop compare each element with this value,if the element is greater than the variable assign the element to the variable.Then the loop will find the largest element and it will be the variable.
Answer:
The program in C++ is as follows:
#include <iostream>
using namespace std;
int perimeter(int side1, int side2, int side3){
return side1+side2+side3;
}
struct Triangle {
int side1; int side2; int side3;
};
int main(void) {
int side1, side2, side3;
cout<<"Sides of the triangle: ";
cin>>side1>>side2>>side3;
struct Triangle T;
T.side1 = side1;
T.side2 = side2;
T.side3 = side3;
cout << "Perimeter: " << perimeter(T.side1,T.side2,T.side3) << endl;
return 0;
}
Explanation:
See attachment for complete code where comments are as explanation
Smoking, Drinking, Use of drugs, problems with uterus, Problems with cervix or placenta.
The primary
thing to consider when designing a brochure is the target audience.
<span> Brochures are meant to capture attention and
deliver information, so it's important that the audience will want to read it
in the first place.</span>
When planning
the design, consider the placement of elements and how they are arranged, or
the 'white space'. Also take into consideration whether photos will be used. This
ensures readability.
<span>Also plan
for the brochure's color scheme and fonts. These capture the audience so these
are core parts of the design.</span>