The C++ program that would complete the main () and set the base and height of triangle1 and of triangle2 is:
main.cpp
#include <iostream>
#include "Triangle.h"
using namespace std;
int main()
{
Triangle Tri1;
Triangle Tri2;
double base1, height1, base2, height2;
cout << "Enter a base for your Triangle1: ";
cin >> base1;
cout << "Enter a height for your Triangle1: ";
cin >> height1;
cout << endl;
cout << "Enter a base for your Triangle2: ";
cin >> base2;
cout << "Enter a height for your Triangle2: ";
cin >> height2;
cout << endl;
cout << "################################" << endl;
cout << "Triangle with larger area:" << endl;
if ((0.5)*base1*height1 > (0.5)*base2*height2){
Tri1.setValues(base1, height1);
Tri1.getValues();
cout << "Area: " << Tri1.getArea() << endl << endl;
}
else{
Tri2.setValues(base2, height2);
Tri2.getValues();
cout << "Area: " << Tri2.getArea() << endl;
}
return 0;
}
Read more about C++ programs here:
brainly.com/question/20339175
#SPJ1
Answer:
See explaination
Explanation:
E-R diagram:
Entity Relationship Diagram, also known as ERD, ER Diagram or ER model, is a type of structural diagram for use in database design. An ERD contains different symbols and connectors that visualize two important information: The major entities within the system scope, and the inter-relationships among these entities.
Please kindly check attachment for for the ERD of the question asked.
Answer:
OLTP(Online transaction processing) is the correct answer.
Explanation:
It is the database application that is used to catching the transection and that data or information which is related to the technology for the purpose of.
- Process that data and information which is related to the following rules of the business or company.
- It stores the data or information related to the online transaction.
- It also helps to modify the current data or information for the new data or information.
A Deceleration device.
A rope, wire rope, or strap with connectors at each end for connecting the 5 point body harness to a lifeline, or anchorage.
Look under OSHA Flashcards on Quizlet and..
OSHA: Fall Protection in Construction, Subpart M and just past that area in the document.
This is from that document on page 13 and 14:
Fall Restraint Systems: While fall restraint systems are not
mentioned in Subpart M, OSHA
recognizes a fall restraint system as
a means of prevention. The system,
if properly used, tethers a worker
in a manner that will not allow a
fall of any distance. This system is
comprised of a body belt or body
harness, an anchorage, connectors,
and other necessary equipment.
Other components typically include
Photo: Skip Pennington
OCCUPATIONAL SAFETY AND HEALTH ADMINISTRATION
1 4
a lanyard, a lifeline, and other devices. For a restraint system
to work, the anchorage must be strong enough to prevent the
worker from moving past the point where the system is fully
extended, including an appropriate safety factor.
*In a November 2, 1995 interpretation letter to Mr. Dennis
Gilmore, OSHA suggested that, at a minimum, a fall restraint
system must have the capacity to withstand at least 3,000
pounds or twice the maximum expected force that is needed
to restrain the person from exposure to the fall hazard. In
determining this force, consideration should be given to
site-specific factors such as the force generated by a person
(including his/her tools, equipment, and materials) walking,
slipping, tripping, leaning, or sliding along the work surface.
Answer:
A. domain adminsb because maybe it might be the right answer.