CST 280 In-Class Practice – Week 3B

Feb 3rd, 2012
Studypool Tutor
Delta College
Course: CST280
Price: $10 USD

Tutor description

CST 280 In-Class Practice – Week 3 Capture the compbiled set of program files in RightTriangle.zip using code (8er6). Decompress this set to access files: RightTriangle.h RightTriangle.cpp testTriangle.cpp Create a project file using the C++ development tool in the classroom and store the files in the project. Next, complete the code for this problem. Add/change the following: • Add a parameterized constructor that will accept both a base and height. • Add a member function that will calculate the area of a right triangle (1.0/2.0 * base * height). Add a call to this function in the driver program and add the area calculation as a line of output. • Add "get" functions to the class for both data members. Integrate use of these functions into the output by reporting back to the user what the triangle dimensions are. Deliverables: Completed program source code and output.

Review from student

Studypool Student
" Thanks, good work "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1828 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors