Showing posts with label array. Show all posts
Showing posts with label array. Show all posts

Friday, March 7, 2014

To find the transpose of the matrix of order m*n using array


In the last page I have  written a program to find the largest number in array. Now lets move towards something new. Now lets find the transpose of the entered matrix.For this we should know what transpose means. Transpose means changing rows into columns and vice versa. To get more idea lets have a look for the source code and the output for the program.







The source code of the above program is:


Thursday, March 6, 2014

To find the largest number in array using function


In the last program I have made the video of engineering drawing. Now lets move towards something new.
In this page I have written the program to find the largest number in an array using function. For this I have supposed the maximum number at first is of  zero position then I have used  the concept of replacing values. I have used argument with return values. For more idea have a look.

Saturday, March 1, 2014

To find the largest number from the list of the entered numbers using array


In this page  I have written the program to find the largest of the entered numbers using array. I have used swapping to get the descending order and then have displayed the number at 0 position. For more idea lets have a look for the source code and the output of the following program.





To find out the numbers that are divisible by one number and not by another number using array.



In this page I have written the program to find the numbers that are divisible by one number and not by another number. For more information

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


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:

Monday, February 24, 2014

To find descending order of the number entered


In this programme I have given you the some concept how to arrange the the number in descending order. For this I have put one example in front of you:
The source code of this programme is :

To pass one dimensional array to function


If we want to pass one dimensional array into function it can be done in this way I have taken examples of finding average of the sum of the numbers entered. In this programme i have taken numbers myself without using scanf.