İptal Edildi

C++ programming

Problem

Develop a menu driven program to input the sides and calculate the perimeter and area of a triangle, square, rectangle, pentagon, and polygon. The application should close on selecting the Exit option.

Q1.

Define a C++ abstract class named shape. The class will have attributes for the sides of the shape. The class will also need the accessor method getSide that returns the sides of the shape. The class also needs one mutator method called setSides which will set the sides of the shape. The setSides method should return a Boolean value indicating if the set was successful or not and update the sides accordingly. (You cannot have a 0 or negative side.)

You will need to do the class declaration in a header(.h) file and the class implementation in the .cpp file.

Also add two more methods in the class namely getArea and getPerimeter to calculate the area and perimeter of the shape. Define a method Display() for this class to print the sides of the shape on the screen.

Q2.

Make this class generic so that the sides of the shape may be integer or float.

Q3.

Use the abstract class shape to define TwoD shape and add all the functionalities to the methods.

Define the instances triangle, square and rectangle in the driver class to test the functionality of the TwoD class you have extended from the shape class.

Q4.

Define a new class ThreeD extended from ThreeD class. The constructor of ThreeD class should call constructor of TwoD class, and also the print method should call the Display() of the super class. Override the functions getArea and getPerimeter to work with the new formula. The ThreeD class will represent instances of ThreeD class as a cube and a box.

Beceriler: C++ Programlama

Daha fazlasını görün: c++ programming problem, c# programming from problem analysis to program design pdf, c# programming from problem analysis to program design, android aspnet c programming mvc php, project dot net linear programming problem, programming blog header image, can fix facebook programming problem, matlab code linear programming problem, cart problem header, problem flv green screen, problem header joomla, programming site header, approaching programming problem, aspnet commerce programming problem design solution chm, programming problem word combinations

İşveren Hakkında:
( 0 değerlendirme ) Surrey, Canada

Proje NO: #15181326

19 freelancer bu iş için ortalamada 44$ teklif veriyor

1 gün içinde 30$ CAD
(133 Değerlendirme)
5.9
NewHorizons2016

Hi, I teach c++. can I help? Relevant Skills and Experience pls read thru profile Proposed Milestones $35 CAD - c++ coursework

1 gün içinde 35$ CAD
(17 Değerlendirme)
5.5
1 gün içinde 60$ CAD
(29 Değerlendirme)
4.8
NovaSofts

Hello Sir/ Ma’am We are a group of Software Engineers having more than 8+ years of experience. Expert in java, C, C++. Please check our profile for reference. Thank you Relevant Skills and Experience C++ = 8 years P Daha fazlası

1 gün içinde 40$ CAD
(96 Değerlendirme)
4.5
liveexperts123

..................................................................................................................................................................

1 gün içinde 150$ CAD
(9 Değerlendirme)
4.6
1 gün içinde 30$ CAD
(10 Değerlendirme)
3.4
iridescent2x15

Im software engineer. I have read the description and I would like to work for you. For further details please inbox me. Thank you Relevant Skills and Experience C++ Proposed Milestones $30 CAD - m

1 gün içinde 30$ CAD
(30 Değerlendirme)
2.9
1 gün içinde 55$ CAD
(2 Değerlendirme)
1.6
nmsandroid

With 6+ years of experience should be Able to complete on weekend itself

in 2 gün içinde55$ CAD
(2 Değerlendirme)
1.2
Tarjanhokey

Hi, dear. i saw your project description carefully. i can do it on time with high level by using vc++ Relevant Skills and Experience i am new freelancer, but i have many experience in c++. Proposed Milestones $25 CAD Daha fazlası

1 gün içinde 25$ CAD
(1 Değerlendirme)
0.6
shezy007

I read your detailed project description and Understand it and be able to work on it Relevant Skills and Experience I have more than 5 years of C++ , C programming experience Qualification MS Computer Science Propos Daha fazlası

in 3 gün içinde90$ CAD
(0 Değerlendirme)
0.0
muhsinyoruk

I will deliver it smoothly in a short time. Relevant Skills and Experience I have 4 years experience in C and C++ Proposed Milestones $24 CAD - delivery

1 gün içinde 24$ CAD
(0 Değerlendirme)
0.0
1 gün içinde 25$ CAD
(1 Değerlendirme)
0.0
niteshsen

Hello Dear, I am well versed in C++programming Relevant Skills and Experience I have checked your requirements. I have already worked on a similar project before and can deliver as u have mentioned. Proposed Milesto Daha fazlası

1 gün içinde 31$ CAD
(0 Değerlendirme)
0.0
VirtualBrainInc

Will Develop a menu driven program to input the sides and calculate the perimeter and area of a triangle, square, rectangle, pentagon, and polygon Relevant Skills and Experience C++ Proposed Milestones $60 CAD - C

1 gün içinde 60$ CAD
(0 Değerlendirme)
0.0
Ranadip07

Assuring you that you will get the program with all the requirements i.e. abstract class, making generic and others within a day or [url removed, login to view] bid is non-negotiable but your satisfaction is guaranteed. Relevant Skills an Daha fazlası

in 2 gün içinde25$ CAD
(0 Değerlendirme)
0.0
rubenac36

I can do it in a very short time Relevant Skills and Experience I have programmed in C++ for 4 years

1 gün içinde 25$ CAD
(0 Değerlendirme)
0.0
asadrana91

Hi there. I have considerable experience with c++ and java programming tasks. I have read you description and can confidently say that I can provide 100% solution. Come over chat lets discuss further. Thank you.

in 5 gün içinde30$ CAD
(26 Değerlendirme)
0.0
abdlrahman2451

A proposal has not yet been provided

in 2 gün içinde20$ CAD
(0 Değerlendirme)
0.0