Find Jobs
Hire Freelancers

C++ programming -- 2

$10-30 CAD

Terminado
Publicado hace más de 6 años

$10-30 CAD

Pagado a la entrega
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.
ID del proyecto: 15186528

Información sobre el proyecto

11 propuestas
Proyecto remoto
Activo hace 7 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
$50 CAD en 1 día
5,0 (185 comentarios)
6,2
6,2
Avatar del usuario
I have read all of the given description i can do it ASAP, i have very good knowledge of C++ and OOP, thanks, Regards Unified Architects Relevant Skills and Experience C++ (3 Years) OOP(2 Years) Proposed Milestones $20 CAD - Will make a program to input the sides and calculate the perimeter and area of triangle $10 CAD - will make twoD and threeD classes that will override the functions getArea and getPerimeter
$30 CAD en 1 día
5,0 (9 comentarios)
3,1
3,1
Avatar del usuario
Dear Client, I have read and understood your project requirements and I'm very interested and confident to write the programs. I have experience of programming in C, C++ and Java. I have coded many programs including data structure, algorithm and games using OOPs. I write well formatted code with comments. Looking forward to work on your project. Waiting for your positive reply. Thank you
$25 CAD en 1 día
4,5 (17 comentarios)
4,3
4,3
11 freelancers están ofertando un promedio de $30 CAD por este trabajo
Avatar del usuario
I will make you the project just like your requirements, in a short period of time. I have done many projects related to your requirements because I am a pro in software development. Relevant Skills and Experience c++ Proposed Milestones $15 CAD - default
$15 CAD en 1 día
4,9 (40 comentarios)
5,0
5,0
Avatar del usuario
Hey A C++ expert programmer is here I have good advanced expertise in C++ programming I can write the given set of programs for you in C++ Feel Free to message me Regards Relevant Skills and Experience C++ Programming OOP Proposed Milestones $20 CAD - Initial I have few questions to ask I hope to have a conversation with you soon
$20 CAD en 0 día
5,0 (26 comentarios)
4,3
4,3
Avatar del usuario
Hello there, Read your project description and it is a pretty simple task. I can provide you the solution in no time which will get you your desired results. I'm a professional Computer Scientist. Relevant Skills and Experience I've proficiency in c++ programming along with few other languages. I have strong problem solving and programming skills and i always provide quality work. Proposed Milestones $35 CAD - 1 Let me know in personal messages, if you feel yourself interested. Looking forward to hear from you
$35 CAD en 1 día
4,9 (21 comentarios)
4,5
4,5
Avatar del usuario
Hello, I am very interested in your project. Please contact me for more details. Relevant Skills and Experience I am studying software engineering and I have more than 4 years experience in this field. I have been working with c++for almost 2 years now, and simple projects are something I have done a lot. Proposed Milestones $25 CAD - As you can see my bid is pretty low and I think this project doesn't need more than 1 milestone. This is my chance to prove myself and I would be very grateful if you could help me with that
$25 CAD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de CANADA
Surrey, Canada
5,0
1
Forma de pago verificada
Miembro desde mar 23, 2017

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.