Find Jobs
Hire Freelancers

ADT matrix

$25-30 USD

Concluído
Publicado há mais de 22 anos

$25-30 USD

Pago na entrega
Write and test ADT Matrix. use the following class definition. const int MAX_ROWS=10; const int MAX_COLS=10; class MATRIXType { public: MatrixType(); Void MakeEmpty(); void SetSize(int rowsize, int colsize); void storeItem(int item, int row, int colsize); void add(MatrixType otheroperand, MatrixType& result); Void Mult(MatrixType otheroperand, MatrixType& result); Void print(std::ofstream& outfile); bool AddsubCompatible(MatrixType otherOperand); bool Multcompatible(MatrixType otherOperand); private: int values[MAX_ROWS][MAX_COLS]; int numRows; int numCols; ; ## Deliverables Before you start looking at how to implement this class, you must determine the pre and post conditions for each opertation. Write a menu driven testing program to test the MatrixType. the menu should contain the following options... GetNewMatrix number of rows and number of columns are on the nextline number of column values on the next number of rows lines AddMatrices add first and second, leaving the result in the third SubMatrices Subtract second from first, leaving the result in the third Multiply matrices Multiply first and second, leaving the result in the third Print Matrix Print the matrix one row per line on dataout Quit These are the processing notes! 1. is a number between 0 and 9. This value is used as an index into an array of matrixtype. [login to view URL] main function must include a switch statement in which the case expression is a user defined enumeration type. This means that the command is recognized and its enumeration equivalent is sent back to be used in the case statement. [login to view URL] driver must ensure the precondition of the member functions of matrixType. Must be able to print an error message if a precodition is violated. 4. echo print each comman on Dataout. Complete and fully- functional working program(s) in executable form as well as complete source code of all work done. ## Deadline information need assignment ASAP! Thanks
ID do Projeto: 2829240

Sobre o projeto

12 propostas
Projeto remoto
Ativo há 23 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
Concedido a:
Avatar do Usuário
See private message.
$25,50 USD em 14 dias
4,8 (34 avaliações)
3,8
3,8
12 freelancers estão ofertando em média $17 USD for esse trabalho
Avatar do Usuário
See private message.
$8,50 USD em 14 dias
4,9 (19 avaliações)
4,8
4,8
Avatar do Usuário
See private message.
$19,55 USD em 14 dias
4,6 (60 avaliações)
4,5
4,5
Avatar do Usuário
See private message.
$12,75 USD em 14 dias
4,9 (69 avaliações)
4,2
4,2
Avatar do Usuário
See private message.
$12,75 USD em 14 dias
5,0 (26 avaliações)
3,8
3,8
Avatar do Usuário
See private message.
$17 USD em 14 dias
4,8 (16 avaliações)
3,1
3,1
Avatar do Usuário
See private message.
$17 USD em 14 dias
5,0 (7 avaliações)
2,6
2,6
Avatar do Usuário
See private message.
$21,25 USD em 14 dias
4,8 (6 avaliações)
1,3
1,3
Avatar do Usuário
See private message.
$12,75 USD em 14 dias
0,0 (1 avaliação)
0,0
0,0
Avatar do Usuário
See private message.
$21,25 USD em 14 dias
0,0 (3 avaliações)
0,2
0,2
Avatar do Usuário
See private message.
$21,25 USD em 14 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
See private message.
$8,50 USD em 14 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
United States
4,8
3
Membro desde out. 12, 2001

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.