Find Jobs
Hire Freelancers

ADT matrix

$25-30 USD

Teljesítve
Kiadva ekkor: több mint 22 évvel ezelőtt

$25-30 USD

Teljesítéskor fizetve
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
Projektazonosító: 2829240

A projektről

12 ajánlat
Távolról teljesíthető projekt
Aktiválva: 23 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
Neki odaítélve:
Felhasználó avatár
See private message.
$25,50 USD 14 napon belül
4,8 (34 értékelés)
3,8
3,8
12 szabadúszó adott átlagosan $17 USD összegű árajánlatot erre a munkára
Felhasználó avatár
See private message.
$8,50 USD 14 napon belül
4,9 (19 értékelés)
4,8
4,8
Felhasználó avatár
See private message.
$19,55 USD 14 napon belül
4,6 (60 értékelés)
4,5
4,5
Felhasználó avatár
See private message.
$12,75 USD 14 napon belül
4,9 (69 értékelés)
4,2
4,2
Felhasználó avatár
See private message.
$12,75 USD 14 napon belül
5,0 (26 értékelés)
3,8
3,8
Felhasználó avatár
See private message.
$17 USD 14 napon belül
4,8 (16 értékelés)
3,1
3,1
Felhasználó avatár
See private message.
$17 USD 14 napon belül
5,0 (7 értékelés)
2,6
2,6
Felhasználó avatár
See private message.
$21,25 USD 14 napon belül
4,8 (6 értékelés)
1,3
1,3
Felhasználó avatár
See private message.
$12,75 USD 14 napon belül
0,0 (1 értékelés)
0,0
0,0
Felhasználó avatár
See private message.
$21,25 USD 14 napon belül
0,0 (3 értékelés)
0,2
0,2
Felhasználó avatár
See private message.
$21,25 USD 14 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
See private message.
$8,50 USD 14 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

UNITED STATES zászlója
United States
4,8
3
Tagság kezdete: okt. 12, 2001

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.