Tag Archives: matrix

Write a C program to perform the following operation on matrices D = A + (B * C), where A, B and C are matrices of (3 X 3) size and D is the resultant matrix – IGNOU MCA Assignment 2018 – 19

MASTER OF COMPUTER APPLICATIONS Course Code: MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/2018-19 Maximum Marks : 100 Write a C program to perform the following operation on matrices D = A + (B * C), where A, B and C are matrices of (3 X 3) size and D is the resultant… Read More »

Write a C program to determine a given matrix is a sparse matrix – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code: MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/2017-18 Maximum Marks : 100 Write a program to find the largest element in an array using Recursion – IGNOU MCA Assignment 2017 – 18 Program: #include<stdio.h> void main() { int MATRIX[10][10]; int I,J,M,N; int COUNT=0; clrscr(); printf(“ENTER… Read More »

A program in ‘C’ language which accepts enrollment number as input and prints the name of student. pairs of students in the form of a matrix. 10m Dec2007

Write a program in ‘C’ language which accepts the enrollment number of a student as input and prints the name of that student. The program should initially store information about the (name, enrollment number) pairs of students in the form of a matrix. 10m Dec2007   #include<stdio.h> struct student { unsigned long int ENROL; char… Read More »

C017 A C program to print the upper and lower triangle of matrix.

Let’s identify variables needed for this program. In this program, we need to save matrices which consists Rows and Columns. To save this we need Two dimensional ARRAY. Multi dimensional Array is a nothing different than any Array but the only difference is that it has more than one deminsion to it e.g. square has… Read More »

C015 An interactive C program to do the following computation by providing the option using the switch statement 1.Add two matrices. 2. Subtract two matrices. 3. Multiply two matrices.

Let’s identify variables needed for this program. In this program, we need to save matrices which consists Rows and Columns. To save this we need Two dimensional ARRAY. Multi-dimensional Array is a nothing different than any Array but the only difference is that it has more than one dimension to it e.g. square has two… Read More »

A C program to Add two matrices (matrix) or Subtract two matrices (matrix)

Let’s identify variables needed for this program. In this program, we need to save matrices which consists Rows and Columns. To save this we need Two dimensional ARRAY. Multi dimensional Array is a nothing different than any Array but the only difference is that it has more than one deminsion to it e.g. square has… Read More »