Course Solutions Uncategorized (Solved) : 1 Triangle Class 50pts Design Class Triangle Containing Private Member Variables Double B Q28127812 . . . .

(Solved) : 1 Triangle Class 50pts Design Class Triangle Containing Private Member Variables Double B Q28127812 . . . .

 

Help me solve this using c++
1. (Triangle Class) a). (50pts) Design a class Triangle containing private member variables double base double height string name and public member functions void setValues (double a, double b) assigning values to base and height void setName (string s) assigning s to name void getValues() displaying values of base and height void getName) displaying name double getArea() returning the area of the triangle b). (50pts) Design a main function to test the Triangle class in the following way: i) Declare an object tri of the Triangle. Get the triangles width, length and name 

<div class=

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : 5 Table Books Num Name Publ Date Database Using Java Create Database Method Database Store Q26339912 . . . .(Solved) : 5 Table Books Num Name Publ Date Database Using Java Create Database Method Database Store Q26339912 . . . .

<br/><img src="https://media.cheggcdn.com/media%2F63d%2F63deee73-e616-4161-99ac-c98aee770492%2Fimage" alt="5. There is table BOOKS (NUM, NAME, PUBL DATE) in the database. Using Java, create database method (database stored function), which output a publication date, when we input