Saturday, March 1, 2014

WAP to enter the values for matrix and display them in matrix form.


By on 4:56 AM

In this program I have used array to enter the values and display the values in matrix form. I will elaborate how the program works on the basis of the example given below:

For example:
if we enter
5
7
9
4
3
6
7
8
9
then the above values will be displayed in the form:
5 7 9
4 3 6
7 8 9.
The main source code of the program is given below:

About Authors

Aakash and Shreeram are owners of this website. Both are engineering student. Aakash is studying computer engineering and has passion with blogs and love to play with it while Shreeram is studying civil engineering and has dream of implementing technology in practical life.

2 comments :

  1. minor mistake, I reckon. return 0; is missing :)

    ReplyDelete
    Replies
    1. THANKS FOR THE COMMENT
      But I am afraid you should know what getch(); actually does.
      getch(); does the same thing as return 0;

      Delete