Mustaqil ish bajardi: tt 301-19 – guruh talabasi Baxriddinov Bunyod


Download 0.51 Mb.
bet5/5
Sana17.06.2023
Hajmi0.51 Mb.
#1526247
1   2   3   4   5
Bog'liq
Graflar 222

cout<<"1-Graf qushnilik matritsasini kiriting\n";
for(i=0;i
for(j=0;j
{cin>>cost[i][j];}
cout<<"2-Graf qushnilik matritsasini kiriting\n";
for(i=0;i
for(j=0;j
{cin>>mass[i][j];}
for(i=0;i
for(j=0;j
if(cost[i][j]==1&&mass[i][j]==1){a=i;
for(u=j;u
if(mass[i][u]!=0)
cost[i][u]=mass[i][u];} goto L1;
}
}
L1: for(i=a+1;i
for(j=0;j
if(mass[i][j]!=0)
cost[i][j]=mass[i][j];}
cout<
for(i=0;i
for(j=0;j
cout<
cout<
return 0;
}

Xulosa


Men bugungi mustaqil laboratoriya ishidan Graf , Graflar haqida tushuncha, Graflar turlarini sanab bering, Graflarning berilish usullari dastur tuzishni o’rganib oldim.


Foydalanilgan adabiyotlar


  1. https://t.me/algoritmlarni_loyihalash

  2. www.hozir.org

  3. www.google.com

  4. www.fayllar.org

Download 0.51 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling