Suche senden
Hochladen
Experement no 6
•
Als DOCX, PDF herunterladen
•
0 gefällt mir
•
122 views
S
Smita Batti
Folgen
x
Weniger lesen
Mehr lesen
Ingenieurwesen
Melden
Teilen
Melden
Teilen
1 von 1
Jetzt herunterladen
Empfohlen
Write a program to perform translation.
Write a program to perform translation.
Shobhit Saxena
Write a program to perform translation
Write a program to perform translation
Shobhit Saxena
week-22x
week-22x
KITE www.kitecolleges.com
Dvst
Dvst
hahaa225
Module 2 topic 2 notes
Module 2 topic 2 notes
chrystal_brinson
Flood Filling Algorithm in C
Flood Filling Algorithm in C
Kasun Ranga Wijeweera
Numerical Method Assignment
Numerical Method Assignment
ashikul akash
Solutionsfor co2 C Programs for data structures
Solutionsfor co2 C Programs for data structures
Lakshmi Sarvani Videla
Empfohlen
Write a program to perform translation.
Write a program to perform translation.
Shobhit Saxena
Write a program to perform translation
Write a program to perform translation
Shobhit Saxena
week-22x
week-22x
KITE www.kitecolleges.com
Dvst
Dvst
hahaa225
Module 2 topic 2 notes
Module 2 topic 2 notes
chrystal_brinson
Flood Filling Algorithm in C
Flood Filling Algorithm in C
Kasun Ranga Wijeweera
Numerical Method Assignment
Numerical Method Assignment
ashikul akash
Solutionsfor co2 C Programs for data structures
Solutionsfor co2 C Programs for data structures
Lakshmi Sarvani Videla
Statistics.cpp
Statistics.cpp
Vorname Nachname
C programs
C programs
Lakshmi Sarvani Videla
week-5x
week-5x
KITE www.kitecolleges.com
Wap in c to draw a line using DDA algorithm
Wap in c to draw a line using DDA algorithm
Kapil Pandit
Python. re
Python. re
Alexey Bovanenko
CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017
CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017
The Statistical and Applied Mathematical Sciences Institute
Document
Document
AjitRaj12
FInal MetLife Powerpoint Presentation[1]
FInal MetLife Powerpoint Presentation[1]
Daniel Gruen
OOP 2012 - Hint: Dynamic allocation in c++
OOP 2012 - Hint: Dynamic allocation in c++
Allan Sun
analog clock C#
analog clock C#
omeed
Basics of Computer graphics lab
Basics of Computer graphics lab
Priya Goyal
Computer graphics programs in c++
Computer graphics programs in c++
Ankit Kumar
A* Algorithm
A* Algorithm
maharajdey
Interpolation graph c++
Interpolation graph c++
rpiitcbme
Clock For My
Clock For My
shamalanamnam
A Shiny Example-- R
A Shiny Example-- R
Dr. Volkan OBAN
Computer Graphics Lab File C Programs
Computer Graphics Lab File C Programs
Kandarp Tiwari
Python programing
Python programing
BHAVYA DOSHI
DAA Lab File C Programs
DAA Lab File C Programs
Kandarp Tiwari
Week 5
Week 5
준성 조
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
JiananWang21
Weitere ähnliche Inhalte
Was ist angesagt?
Statistics.cpp
Statistics.cpp
Vorname Nachname
C programs
C programs
Lakshmi Sarvani Videla
week-5x
week-5x
KITE www.kitecolleges.com
Wap in c to draw a line using DDA algorithm
Wap in c to draw a line using DDA algorithm
Kapil Pandit
Python. re
Python. re
Alexey Bovanenko
CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017
CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017
The Statistical and Applied Mathematical Sciences Institute
Document
Document
AjitRaj12
FInal MetLife Powerpoint Presentation[1]
FInal MetLife Powerpoint Presentation[1]
Daniel Gruen
OOP 2012 - Hint: Dynamic allocation in c++
OOP 2012 - Hint: Dynamic allocation in c++
Allan Sun
analog clock C#
analog clock C#
omeed
Basics of Computer graphics lab
Basics of Computer graphics lab
Priya Goyal
Computer graphics programs in c++
Computer graphics programs in c++
Ankit Kumar
A* Algorithm
A* Algorithm
maharajdey
Interpolation graph c++
Interpolation graph c++
rpiitcbme
Clock For My
Clock For My
shamalanamnam
A Shiny Example-- R
A Shiny Example-- R
Dr. Volkan OBAN
Computer Graphics Lab File C Programs
Computer Graphics Lab File C Programs
Kandarp Tiwari
Python programing
Python programing
BHAVYA DOSHI
DAA Lab File C Programs
DAA Lab File C Programs
Kandarp Tiwari
Week 5
Week 5
준성 조
Was ist angesagt?
(20)
Statistics.cpp
Statistics.cpp
C programs
C programs
week-5x
week-5x
Wap in c to draw a line using DDA algorithm
Wap in c to draw a line using DDA algorithm
Python. re
Python. re
CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017
CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017
Document
Document
FInal MetLife Powerpoint Presentation[1]
FInal MetLife Powerpoint Presentation[1]
OOP 2012 - Hint: Dynamic allocation in c++
OOP 2012 - Hint: Dynamic allocation in c++
analog clock C#
analog clock C#
Basics of Computer graphics lab
Basics of Computer graphics lab
Computer graphics programs in c++
Computer graphics programs in c++
A* Algorithm
A* Algorithm
Interpolation graph c++
Interpolation graph c++
Clock For My
Clock For My
A Shiny Example-- R
A Shiny Example-- R
Computer Graphics Lab File C Programs
Computer Graphics Lab File C Programs
Python programing
Python programing
DAA Lab File C Programs
DAA Lab File C Programs
Week 5
Week 5
Kürzlich hochgeladen
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
JiananWang21
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
Arindam Chakraborty, Ph.D., P.E. (CA, TX)
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
BhangaleSonal
Employee leave management system project.
Employee leave management system project.
Kamal Acharya
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
sivaprakash250
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
DineshKumar4165
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
Omar Fathy
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
roncy bisnoi
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
University management System project report..pdf
University management System project report..pdf
Kamal Acharya
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
DineshKumar4165
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
smsksolar
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
RagavanV2
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
JuliansyahHarahap1
Hostel management system project report..pdf
Hostel management system project report..pdf
Kamal Acharya
Kürzlich hochgeladen
(20)
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
Employee leave management system project.
Employee leave management system project.
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
University management System project report..pdf
University management System project report..pdf
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Hostel management system project report..pdf
Hostel management system project report..pdf
Experement no 6
1.
EXPEREMENT NO 6 Find
Minimum Cost Spanning Tree of a given undirected graph using Kruskal's algorithm #include<stdio.h> int i,j,u,v,a,b,cost[20][20],min,mincost=0,n,parent[20],ne=1; void main() { printf("Enter the number of verticies:n"); scanf("%d",&n); printf("Enter the Cost Matrix:n"); for(i=1;i<=n;i++) { for(j=1;j<=n;j++) { scanf("%d",&cost[i][j]); if(cost[i][j]==0) { cost[i][j]=999; } } } while(ne<n) { for(i=1,min=999;i<=n;i++) { for(j=1;j<=n;j++) { if(cost[i][j]<min) { min=cost[i][j]; a=u=i; b=v=j; } } } while(parent[u]) u=parent[u]; while(parent[v]) v=parent[v]; if(u!=v) { printf("%d Edge <%d ,%d>=%dn",ne++,a,b,min); mincost+=min; parent[v]=u; } cost[a][b]=cost[b][a]=999; } printf("Mincost=%d",mincost); }
Jetzt herunterladen