Amaliy matematika va informatika” yo’nalishi 18. 06-guruh talabasi Shokirova Gulshanoy Dilshodjon qizining



Download 2,63 Mb.
bet17/17
Sana06.09.2021
Hajmi2,63 Mb.
#165976
1   ...   9   10   11   12   13   14   15   16   17
Bog'liq
SHOKIROVA G

ILOVA


Dastur oynasi ko’rinishi:


Dastur kodining matni:

using System;

using System.Windows.Forms;
namespace Ma_lumot

{

public partial class Form1 : Form



{

//baholarni olish uchun har bir talabani har bir fani uchun massiv yaratdik

string[] s = new string[8];

int[] dqf1 = new int[8];

int[] oqf1 = new int[8];

int[] yqf1 = new int[8];


int[] dqf2 = new int[8];

int[] oqf2 = new int[8];

int[] yqf2 = new int[8];
int[] dqf3 = new int[8];

int[] oqf3 = new int[8];

int[] yqf3 = new int[8];
int[] dqf4 = new int[8];

int[] oqf4 = new int[8];

int[] yqf4 = new int[8];
int[] dqf5 = new int[8];

int[] oqf5 = new int[8];

int[] yqf5 = new int[8];

int x = 0;

public Form1()

{

InitializeComponent();



}
private void button1_Click_1(object sender, EventArgs e)

{

if (talaba.Text == "Tanlash") MessageBox.Show("Iltimos talabani tanlang!");



else

{

panel1.Visible = true;



button2.Visible = true;

{

s[0] = "1) Sobirov Asilbek Karimjon o'g'li";


dqf1[0] = 5;

oqf1[0] = 5;

yqf1[0] = 5;
dqf2[0] = 5;

oqf2[0] = 5;

yqf2[0] = 5;
dqf3[0] = 5;

oqf3[0] = 5;

yqf3[0] = 5;
dqf4[0] = 4;

oqf4[0] = 5;

yqf4[0] = 4;
dqf5[0] = 4;

oqf5[0] = 4;

yqf5[0] = 4;
s[1] = "2) Xakimjonov Odiljon Ulug'bek o'g'li";
dqf1[1] = 4;

oqf1[1] = 4;

yqf1[1] = 5;
dqf2[1] = 5;

oqf2[1] = 4;

yqf2[1] = 4;
dqf3[1] = 5;

oqf3[1] = 5;

yqf3[1] = 5;
dqf4[1] = 4;

oqf4[1] = 4;

yqf4[1] = 5;
dqf5[1] = 4;

oqf5[1] = 4;

yqf5[1] = 4;
s[2] = "3) Akbaraliyeva Hayotxon Xamdamjon qizi";
dqf1[2] = 3;

oqf1[2] = 4;

yqf1[2] = 4;
dqf2[2] = 4;

oqf2[2] = 3;

yqf2[2] = 4;
dqf3[2] = 5;

oqf3[2] = 5;

yqf3[2] = 5;
dqf4[2] = 5;

oqf4[2] = 5;

yqf4[2] = 5;
dqf5[2] = 5;

oqf5[2] = 5;

yqf5[2] = 5;
s[3] = "4) Jahongirova Jayrona Jasurbek qizi";
dqf1[3] = 5;

oqf1[3] = 4;

yqf1[3] = 5;
dqf2[3] = 4;

oqf2[3] = 5;

yqf2[3] = 5;
dqf3[3] = 4;

oqf3[3] = 5;

yqf3[3] = 4;
dqf4[3] = 4;

oqf4[3] = 4;

yqf4[3] = 5;
dqf5[3] = 5;

oqf5[3] = 5;

yqf5[3] = 4;
s[4] = "5) Shokirova Gulshanoy Dilshodjon qizi";
dqf1[4] = 4;

oqf1[4] = 4;

yqf1[4] = 4;
dqf2[4] = 3;

oqf2[4] = 5;

yqf2[4] = 5;
dqf3[4] = 5;

oqf3[4] = 4;

yqf3[4] = 5;
dqf4[4] = 5;

oqf4[4] = 5;

yqf4[4] = 5;
dqf5[4] = 5;

oqf5[4] = 5;

yqf5[4] = 5;
s[5] = "6)Abduhakimova Moxidil Ilhomjon qizi";
dqf1[5] = 5;

oqf1[5] = 4;

yqf1[5] = 5;
dqf2[5] = 4;

oqf2[5] = 5;

yqf2[5] = 4;
dqf3[5] = 5;

oqf3[5] = 5;

yqf3[5] = 5;
dqf4[5] = 0;

oqf4[5] = 0;

yqf4[5] = 0;
dqf5[5] = 4;

oqf5[5] = 4;

yqf5[5] = 4;
s[6] = "7)Turg'unboyeva Gulasal Ravshanbek qizi";
dqf1[6] = 5;

oqf1[6] = 5;

yqf1[6] = 5;
dqf2[6] = 5;

oqf2[6] = 5;

yqf2[6] = 5;
dqf3[6] = 5;

oqf3[6] = 5;

yqf3[6] = 5;
dqf4[6] = 0;

oqf4[6] = 0;

yqf4[6] = 0;
dqf5[6] = 5;

oqf5[6] = 4;

yqf5[6] = 4;
s[7] = "8)Kamoliddinova Shahzodaxon Sharofiddin qizi";
dqf1[7] = 4;

oqf1[7] = 5;

yqf1[7] = 4;
dqf2[7] = 3;

oqf2[7] = 3;

yqf2[7] = 4;
dqf3[7] = 3;

oqf3[7] = 4;

yqf3[7] = 4;
dqf4[7] = 4;

oqf4[7] = 5;

yqf4[7] = 5;
dqf5[7] = 5;

oqf5[7] = 5;

yqf5[7] = 4;

}
for (int i = 0; i < 8; i++)

{

if (s[i] == talaba.Text) x = i;



}

ism.Text = s[x];

dq1.Text = dqf1[x].ToString();

dq2.Text = dqf2[x].ToString();

dq3.Text = dqf3[x].ToString();

dq4.Text = dqf4[x].ToString();

dq5.Text = dqf5[x].ToString();
oq1.Text = oqf1[x].ToString();

oq2.Text = oqf2[x].ToString();

oq3.Text = oqf3[x].ToString();

oq4.Text = oqf4[x].ToString();

oq5.Text = oqf5[x].ToString();
yq1.Text = yqf1[x].ToString();

yq2.Text = yqf2[x].ToString();

yq3.Text = yqf3[x].ToString();

yq4.Text = yqf4[x].ToString();

yq5.Text = yqf5[x].ToString();
uq1.Text = (dqf1[x] + oqf1[x] + yqf1[x]).ToString();

uq2.Text = (dqf2[x] + oqf2[x] + yqf2[x]).ToString();

uq3.Text = (dqf3[x] + oqf3[x] + yqf3[x]).ToString();

uq4.Text = (dqf4[x] + oqf4[x] + yqf3[x]).ToString();

uq5.Text = (dqf5[x] + oqf5[x] + yqf4[x]).ToString();

}
}
private void button2_Click(object sender, EventArgs e)

{

panel1.Visible = false;



talaba.Text = "Tanlash";

}

}



}

Dastur ishlash jarayoni:





Download 2,63 Mb.

Do'stlaringiz bilan baham:
1   ...   9   10   11   12   13   14   15   16   17




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

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish