Add & Mult. Matrix

Виконано Опубліковано %project.relative_time Оплачується при отриманні
Виконано Оплачується при отриманні

**Summary:** I need a menu-driven C program that will provide the following operations on matrices:

(1) Read (and Display) data for two 3x3 matrices

(2) Add matrices

(3) Multiply matrices

(4) Sort matrices

**At the beginning of the program, you must declare three (3) 3x3 matrices and fill them with zeroes. Two (2) of the matrices will be used for adding, multiplying, and sorting; the third matrix will be used for storing results obtained by adding and multiplying matrices.**

***Menu Option 1***: The program should read in the data for the two 3x3 matrices. In essence, you should read in 18 integers and place them in the corresponding matrices.

Display these two (2) matrices once they’ve been read (i.e., 3 rows and 3 columns for each).

***Menu Option 2***: The program should add the two matrices and display the result.

***Menu Option 3***: The program should multiply the two matrices and display the result.

***Menu Option 4***: The program should re-sort each matrix (using smallest to largest values) and display each.

**The program must display the menu after _each task_ and wait for the user to select another option, until the user chooses to quit the program (may be menu option 5).**

Please use ***pointer arithmetic (NOT array indexing/subscripting)

*** You **must use** the following function prototypes:

**void fill_zero (int *mat);** //fills matrix with zeroes

**void read_matrix (int *mat);** //reads in data and stores values in a matrix

**void print (int *mat);** //prints a matrix

**void add (int *mat1, int *mat2, int *mat3);** //adds 2 matrices and stores result in mat3

**void multiply (int *mat1, int *mat2, int *mat3);** //multiplies 2 matrices and stores result in mat3

**void sort (int *mat1, int *mat2);** //sorts 2 matrices

□ **Include comments AND matrices must be displayed as 3 rows and 3 columns. **

□ **Please note that file input redirection will be used in testing your program**

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

## Platform

Windows XP

Програмування на С Техніка MySQL PHP Архітектура ПЗ Тестування ПЗ

ID Проекту: #3159490

Про проект

16 заявок(-ки) Дистанційний проект Остання активність Apr 5, 2004

Доручено:

unmovin

See private message.

$6 USD за 2 дні(-в)
(5 відгуків(-и))
1.9

16 фрілансерів(-и) готові виконати цю роботу у середньому за $15

amunsol

See private message.

$17 USD за 2 дні(-в)
(99 відгуків(и))
7.0
ffmpegvw

See private message.

$25.5 USD за 2 дні(-в)
(43 відгуків(и))
6.3
abstractvision

See private message.

$25.5 USD за 2 дні(-в)
(141 відгуків(и))
6.1
SUog

See private message.

$11.05 USD за 2 дні(-в)
(104 відгуків(и))
5.9
idleswell

See private message.

$17 USD за 2 дні(-в)
(175 відгуків(и))
5.9
techzonevw

See private message.

$21.25 USD за 2 дні(-в)
(156 відгуків(и))
5.8
DanD

See private message.

$21.25 USD за 2 дні(-в)
(212 відгуків(и))
5.8
vangelisdimou

See private message.

$23.8 USD за 2 дні(-в)
(61 відгуків(и))
5.1
CygnusOne

See private message.

$12.75 USD за 2 дні(-в)
(17 відгуків(и))
4.3
HieuT

See private message.

$8.5 USD за 2 дні(-в)
(31 відгуків(и))
3.9
grayfacedbu

See private message.

$12.75 USD за 2 дні(-в)
(39 відгуків(и))
3.5
cristi004

See private message.

$10.2 USD за 2 дні(-в)
(9 відгуків(и))
2.0
softbite

See private message.

$12.75 USD за 2 дні(-в)
(8 відгуків(и))
2.0
gabrielakomar

See private message.

$8.5 USD за 2 дні(-в)
(1 відгук)
0.8
roxsox

See private message.

$8.5 USD за 2 дні(-в)
(0 відгуків(и))
0.0