Find Jobs
Hire Freelancers

C++ programming

$10-30 CAD

Cancelado
Publicado há mais de 6 anos

$10-30 CAD

Pago na 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 do Projeto: 15181326

Sobre o projeto

16 propostas
Projeto remoto
Ativo há 7 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
16 freelancers estão ofertando em média $46 CAD for esse trabalho
Avatar do Usuário
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 Proposed Milestones $40 CAD - m
$40 CAD em 1 dia
4,8 (304 avaliações)
7,6
7,6
Avatar do Usuário
..................................................................................................................................................................
$150 CAD em 1 dia
5,0 (36 avaliações)
7,0
7,0
Avatar do Usuário
Hi, I teach c++. can I help? Relevant Skills and Experience pls read thru profile Proposed Milestones $35 CAD - c++ coursework
$35 CAD em 1 dia
5,0 (35 avaliações)
6,3
6,3
Avatar do Usuário
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
$30 CAD em 1 dia
4,9 (56 avaliações)
6,1
6,1
Avatar do Usuário
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.
$30 CAD em 5 dias
5,0 (39 avaliações)
6,1
6,1
Avatar do Usuário
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
$60 CAD em 1 dia
0,0 (2 avaliações)
2,9
2,9
Avatar do Usuário
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 Milestones $31 CAD - Kindly consider me for this work. I will provide quality of work within deadline
$31 CAD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
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 Proposed Milestones $90 CAD - C++ Programming
$90 CAD em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
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
$24 CAD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
A proposal has not yet been provided
$20 CAD em 2 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) CANADA
Surrey, Canada
5,0
1
Método de pagamento verificado
Membro desde mar. 23, 2017

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos 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)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.