Find Jobs
Hire Freelancers

ADT matrix

$25-30 USD

Fullført
Lagt ut over 22 år siden

$25-30 USD

Betalt ved levering
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
Prosjekt-ID: 2829240

Om prosjektet

12 forslag
Eksternt prosjekt
Aktiv 23 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
Tildelt til:
Brukeravatar
See private message.
$25,50 USD om 14 dager
4,8 (34 omtaler)
3,8
3,8
12 frilansere byr i gjennomsnitt $17 USD for denne jobben
Brukeravatar
See private message.
$8,50 USD om 14 dager
4,9 (19 omtaler)
4,8
4,8
Brukeravatar
See private message.
$19,55 USD om 14 dager
4,6 (60 omtaler)
4,5
4,5
Brukeravatar
See private message.
$12,75 USD om 14 dager
4,9 (69 omtaler)
4,2
4,2
Brukeravatar
See private message.
$12,75 USD om 14 dager
5,0 (26 omtaler)
3,8
3,8
Brukeravatar
See private message.
$17 USD om 14 dager
4,8 (16 omtaler)
3,1
3,1
Brukeravatar
See private message.
$17 USD om 14 dager
5,0 (7 omtaler)
2,6
2,6
Brukeravatar
See private message.
$21,25 USD om 14 dager
4,8 (6 omtaler)
1,3
1,3
Brukeravatar
See private message.
$12,75 USD om 14 dager
0,0 (1 omtale)
0,0
0,0
Brukeravatar
See private message.
$21,25 USD om 14 dager
0,0 (3 omtaler)
0,2
0,2
Brukeravatar
See private message.
$21,25 USD om 14 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
See private message.
$8,50 USD om 14 dager
0,0 (0 omtaler)
0,0
0,0

Om klienten

UNITED STATESs flagg
United States
4,8
3
Medlem siden okt. 12, 2001

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.