Attribution Non-Commercial (BY-NC)

0 views

Attribution Non-Commercial (BY-NC)

- Squares that are sum of two squares
- SSC JE 2013 1-100 Mech
- Exercise Sachio
- Algebra
- ternario termodinamica
- Notes on MATLAB
- Experimental_Design_lab
- New Text Document
- Eee Btech Syllabus
- Matlab Manual1
- Anne
- Holiday Homework 2013-14
- Final
- ME pap oct
- Dynamic Composite Cracked Element Model
- Destiny Tuition Centre
- 5. Electrical - IJEEER -Optimal Allocation and Contingency Analysis - KOTA SHIRISHA REDDY
- 01 Matlab Intro
- Differential Equations in MATLAB
- C4

You are on page 1of 2

PROGRAM DEFINITION:Write a program to Prinf Multiplication Of Matrix

*/

#include<stdio.h>

#include<conio.h>

{

int i,j;

for(i=0;i<r;i++)

{

for(j=0;j<c;j++)

{

printf("Enter Value [%d][%d]\t",i,j);

scanf("%d",&a[i][j]);

}

printf("\n");

}

}

{

int i,j;

for(i=0;i<r;i++)

{

for(j=0;j<c;j++)

{

printf("%d\t",a[i][j]);

fprintf(fp,"%d\t",a[i][j]);

}

printf("\n");

fprintf(fp,"\n");

}

}

{

int i,j,k;

for(i=0;i<r;i++)

{

for(j=0;j<c;j++)

{

sum[i][j]=0;

for(k=0;k<r;k++)

{

sum[i][j]=sum[i][j]+a[i][k]*b[k][j];

}

}

}

}

int main()

{

int i,r,c,a[10][10],b[10][10],sum[10][10];

FILE *fp;

clrscr();

fp=fopen("z:\\multiplicationarray.txt","w");

if(fp==NULL)

{

printf("File Could Not Open");

exit (0);

}

printf("Enter Size Of Row::");

scanf("%d",&r);

printf("Enter Size Of Column::");

scanf("%d",&c);

printf("\nArray One::\n\n");

fprintf(fp,"\nArray One\n\n");

read_array(a,r,c);

display_array(a,r,c,fp);

printf("\nArray Two::\n\n");

fprintf(fp,"\nArray Two\n\n");

read_array(b,r,c);

display_array(b,r,c,fp);

multiplication(a,b,sum,r,c);

printf("\n\nMultiplication Of Matrix");

fprintf(fp,"\n\nMultiplication Of Matrix");

printf("\n");

fprintf(fp,"\n");

display_array(sum,r,c,fp);

getch();

return 0;

}

/* OUTPUT:

Enter Size Of Row::2

Enter Size Of Column::2

Array One::

Enter Value [0][0] 12

Enter Value [0][1] 52

Enter Value [1][0] 48

Enter Value [1][1] 75

12 52

48 75

Array Two::

Enter Value [0][0] 14

Enter Value [0][1] 52

Enter Value [1][0] 85

Enter Value [1][1] 45

14 52

85 45

Multiplication Of Matrix

4588 2964

7047 5871

*/

- Squares that are sum of two squaresUploaded bySanchit Jain
- SSC JE 2013 1-100 MechUploaded byjiteshpaul
- Exercise SachioUploaded byFajar Sukmaharsa
- AlgebraUploaded bycooboy112233
- ternario termodinamicaUploaded byLuciano Cruz Janco
- Notes on MATLABUploaded bySVR07
- Experimental_Design_labUploaded byDavid Tamayo
- New Text DocumentUploaded byfriend0friend1friend
- Eee Btech SyllabusUploaded byKodali Jayachandra
- Matlab Manual1Uploaded byvenkatcharms
- AnneUploaded bycltorre
- Holiday Homework 2013-14Uploaded byHarshavardhan Ganesan
- FinalUploaded byThahir Shah
- ME pap octUploaded byDrKiran Ladhane
- Dynamic Composite Cracked Element ModelUploaded byAbdul Khader Shahadaf
- Destiny Tuition CentreUploaded byKiran Basu
- 5. Electrical - IJEEER -Optimal Allocation and Contingency Analysis - KOTA SHIRISHA REDDYUploaded byTJPRC Publications
- 01 Matlab IntroUploaded byEmilio M. B Castro
- Differential Equations in MATLABUploaded bykensaii
- C4Uploaded byk sai krishna
- Brief Answers to 2006 ExamUploaded bySapphasak Bun Chatchawan
- 0103Uploaded byGicu
- Lex and Yacc ProgramsUploaded bytrichy_sathish
- review for exam - day 3 - matricesUploaded byapi-253618062
- 20058-74005-1-PB.pdfUploaded bySue S
- SYLLABUSSUploaded byAshok Pradhan
- Feature ANalysis Technology Accessing STatistics (In a Corpus): Technical Report v1.5Uploaded byash jackk
- Tutorial 1Uploaded byabin
- lex-1Uploaded bysandeep
- English - Guía para el uso de recursos educativos - Software Micmac y videoUploaded byClaudia Rivera

- Post FixUploaded byvarun_aggarwal1987
- pyramidUploaded byvarun_aggarwal1987
- week_dayUploaded byvarun_aggarwal1987
- vowel_fiUploaded byvarun_aggarwal1987
- vowel_coUploaded byvarun_aggarwal1987
- v_28Uploaded byvarun_aggarwal1987
- v_21Uploaded byvarun_aggarwal1987
- v_9Uploaded byvarun_aggarwal1987
- v_8Uploaded byvarun_aggarwal1987
- v_6Uploaded byvarun_aggarwal1987
- v_5Uploaded byvarun_aggarwal1987
- v_4Uploaded byvarun_aggarwal1987
- v_3_2Uploaded byvarun_aggarwal1987
- v_3_1Uploaded byvarun_aggarwal1987
- v_2_iiiUploaded byvarun_aggarwal1987
- v_2_iiUploaded byvarun_aggarwal1987
- v_2_iUploaded byvarun_aggarwal1987
- v_2_3Uploaded byvarun_aggarwal1987
- v_2_2Uploaded byvarun_aggarwal1987
- uptolowUploaded byvarun_aggarwal1987
- up_lowUploaded byvarun_aggarwal1987
- unitmatrUploaded byvarun_aggarwal1987
- triangleUploaded byvarun_aggarwal1987
- tmatrixUploaded byvarun_aggarwal1987
- switchmoUploaded byvarun_aggarwal1987
- switchdaUploaded byvarun_aggarwal1987
- switchUploaded byvarun_aggarwal1987
- switchcaUploaded byvarun_aggarwal1987
- sumprimeUploaded byvarun_aggarwal1987
- sumof3Uploaded byvarun_aggarwal1987

- Modul Syed Malek _repairedUploaded bybangiidaman
- DualityUploaded byRicardo Gutiérrez Argüelles
- ScilabTEC2011_WorkshopOptimization.pdfUploaded byLazNgcengula
- lecture22_fdintroUploaded bytakervader
- Use of Particle Swarm Optimization Algorithm.pdfUploaded bynguyenlon
- Chap5C-4pUploaded byMingdreamer
- 9781461419389-c1Uploaded byKelli Chang
- Flexibility Method Spring 2016Uploaded byJithu Alexander
- Mat 8050Uploaded byFrancis Valenti
- Pre-calculus / math notes (unit 5 of 22)Uploaded byOmegaUser
- CURSO NPTEL - Finite Element AnalysisUploaded bycargadory2k
- Ch7 STL AlgorithmsUploaded byjatonfire
- Computer ProjectUploaded byMõhâñKûmârÐSãçhíñìst
- UNIT IUploaded bySeshu Chakravarthy
- B.Sc. (Mathematics)-Sem.1 & 2-(2010-11)Uploaded bySumanth Boddu
- EM-Quiz12Uploaded bySingh Karan
- Ec6502 Principles of Digital Signal ProcessingUploaded byaarthy
- IFEM.Ch10Uploaded byShubhankar Bhowmick
- Lesson 29.pdfUploaded byShubham Kothari
- Signal_Processing_1_script_english_v2017.pdfUploaded byAnonymous TYuz9rC
- 11. LogarithmsUploaded byUnsa Manjud
- Lecture 1, Bahman MoraffahUploaded byElham
- Cs6702 Graph Theory and Applications SyllabusUploaded byappasami
- 1516 Level LA Mathematics Exam Related Materials T2 Wk10Uploaded byMikhael
- Practice WSUploaded byAxel Araujo
- A Minimax Method for Finding Multiple Critical Points and Its Applications to Semilinear PDEUploaded byKrestel Jill
- (Brown and Churchill) James Brown, Ruel Churchill-Complex Variables and Applications-McGraw-Hill Education (2013)Uploaded byJuan Van Halen
- Calc 2 NotesUploaded byultragaff
- What is Calculus Used ForUploaded bynishagoyal
- Chap10WEUploaded byNP

## Much more than documents.

Discover everything Scribd has to offer, including books and audiobooks from major publishers.

Cancel anytime.