My friend needs a program that will:

1. Ask the user for the size of the matrix. The choices are 2x2 or 3x3.
2. Ask the user for the operation to perform. The choices are addition or subtraction.
3. Let the user input the numbers for the first matrix.
4. Let the user input the numbers for the second matrix.
5. Perform the chosen operation on the given matrices.
6. Show the solution in matrix form.
7. Ask the user if he wants to do matrix calculation again. If yes, proceed to
item #1. If no, exit the math engine.

Recommended Answers

All 2 Replies

>>My friend needs a program that will:

That's nice -- now when are you going to write it for him? We certainly will not without a lot of $$$$.

Its for his research and studies. I'm just helping out. He has no net. Sorry for offending anyone.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.