SlideShare a Scribd company logo
INPUT:
#include<iostream.h>
#include<conio.h>
void main()
{
int m[3][3],i,j;
clrscr();
cout<<"n Enter the element in (3*3)Matrix:";
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
cin>>m[i][j];
}
}
cout<<"nMatrix is:n";
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
cout<<m[i][j]<<" ";
}
cout<<"n";
}
cout<<"nTRANSPOSE OF MATRIX IS:n";
1
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
cout<<m[j][i]<<" ";
}
cout<<"n";
}
getch();
}
OUTPUT:
2

More Related Content

DOCX
Assignement c++
PDF
OOP 2012 - Hint: Dynamic allocation in c++
DOCX
Program membalik kata
PDF
Statistics.cpp
PDF
Oopsprc1c
PDF
ZipCode_Distance_by_Agent_Home_Zip_2015091501
PDF
C++ TUTORIAL 5
PPTX
Array matrix example programs - C language
Assignement c++
OOP 2012 - Hint: Dynamic allocation in c++
Program membalik kata
Statistics.cpp
Oopsprc1c
ZipCode_Distance_by_Agent_Home_Zip_2015091501
C++ TUTORIAL 5
Array matrix example programs - C language

What's hot (20)

DOCX
Experement no 6
PDF
C++ Programming - 14th Study
PDF
The Ring programming language version 1.5.2 book - Part 41 of 181
PDF
A gentle introduction to functional programming through music and clojure
PPTX
Product rule
PDF
C++ ARRAY WITH EXAMPLES
DOCX
Doubly linklist
DOCX
DOCX
Caropro
PDF
C++ TUTORIAL 10
PDF
Oopsprc1e
PPTX
Lab 13
PDF
C++ TUTORIAL 3
DOCX
Oop lab report
PDF
The Ring programming language version 1.5.4 book - Part 42 of 185
DOCX
Conversion of data types in java
PPT
Nosh slides mongodb web application - mongo philly 2011
Experement no 6
C++ Programming - 14th Study
The Ring programming language version 1.5.2 book - Part 41 of 181
A gentle introduction to functional programming through music and clojure
Product rule
C++ ARRAY WITH EXAMPLES
Doubly linklist
Caropro
C++ TUTORIAL 10
Oopsprc1e
Lab 13
C++ TUTORIAL 3
Oop lab report
The Ring programming language version 1.5.4 book - Part 42 of 185
Conversion of data types in java
Nosh slides mongodb web application - mongo philly 2011
Ad

More from Ankit Dubey (20)

PDF
Unit 1 android and it's tools quiz {mad cwipedia}
PDF
Scheduling
PDF
Chapter 4
PDF
Chapter 3
PDF
Chapter 2
PDF
Chapter 1
PDF
Chapter 5
PDF
Ch5 cpu-scheduling
PDF
Ch4 threads
PDF
Ch3 processes
PPT
Ch2 system structure
PPT
Ch1 introduction-to-os
PDF
Android i
PDF
Mongodb mock test_ii
PDF
Android mock test_iii
PDF
Android mock test_ii
PDF
Ajp notes-chapter-06
PDF
Ajp notes-chapter-05
PDF
Ajp notes-chapter-04
PDF
Ajp notes-chapter-03
Unit 1 android and it's tools quiz {mad cwipedia}
Scheduling
Chapter 4
Chapter 3
Chapter 2
Chapter 1
Chapter 5
Ch5 cpu-scheduling
Ch4 threads
Ch3 processes
Ch2 system structure
Ch1 introduction-to-os
Android i
Mongodb mock test_ii
Android mock test_iii
Android mock test_ii
Ajp notes-chapter-06
Ajp notes-chapter-05
Ajp notes-chapter-04
Ajp notes-chapter-03
Ad

Recently uploaded (20)

DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
web development for engineering and engineering
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Geodesy 1.pptx...............................................
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPT
Mechanical Engineering MATERIALS Selection
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
UNIT 4 Total Quality Management .pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
web development for engineering and engineering
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Geodesy 1.pptx...............................................
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
R24 SURVEYING LAB MANUAL for civil enggi
CYBER-CRIMES AND SECURITY A guide to understanding
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Mechanical Engineering MATERIALS Selection
Model Code of Practice - Construction Work - 21102022 .pdf
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Internet of Things (IOT) - A guide to understanding
UNIT-1 - COAL BASED THERMAL POWER PLANTS
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
UNIT 4 Total Quality Management .pptx

Ooprc4 b