Algoritmik tillar va dasturlash Fanidan bajargan topshiriqlar toplami. Mavzular



Download 3,12 Mb.
bet6/13
Sana22.07.2022
Hajmi3,12 Mb.
#835748
1   2   3   4   5   6   7   8   9   ...   13
Bog'liq
Malakaviy Amaliyot Mamirov Javohir

KORTEJLAR
using System;
namespace JavohirbekHemisnew01
{
class Program
{
static void Main(string[] args)
{
double t11 = 3, t12 = 4, t13 = 3, t14 = 3, t15 = 4, t16 = 4, t17 = 3, t18 = 5, t19 = 3, t20 = 5, t21 = 3, t22 = 5, t23 = 4, t24 = 4;
double t31 = 3, t32 = 3, t33 = 5, t34 = 4, t35 = 4, t36 = 5, t37 = 0, t38 = 0, t39 = 3, t40 = 5, t41 = 4, t42 = 4, t43 = 5, t44 = 4;
double t51 = 0, t52 = 3, t53 = 5, t54 = 0, t55 = 4, t56 = 5, t57 = 0, t58 = 0, t59 = 3, t60 = 5, t61 = 3, t62 = 4, t63 = 4, t64 = 4;
double t71 = 3, t72 = 0, t73 = 3, t74 = 3, t75 = 4, t76 = 4, t77 = 3, t78 = 3, t79 = 3, t80 = 0, t81 = 0, t82 = 4, t83 = 5, t84 = 4;
double t91 = 3, t92 = 3, t93 = 3, t94 = 3, t95 = 0, t96 = 4, t97 = 0, t98 = 3, t99 = 0, t100 = 0, t101 = 3, t102 = 5, t103 = 5, t104 = 4;
var Talaba01 = (name: "Javohirbek", Surname: "Mamirov", date: "2004.12.09", place: "Sirdaryo", age: 17);
var GPA01 = (semestr1: (MA1: t11, Al1: t12, Chiz1: t13, Ing1: t14, Dis1: t15, Tar: t16),
semestr2: (MA2: t17, Al2: t18, Ing2: t19, Dis2: t20, Chiz2: t21, Ma02: t22, JT: t23, RT: t24));
var Talaba02 = (name: "Sardor", Surname: "Farxodov", date: "2003.04.12", place: "Jizzax", age: 19);
var GPA02 = (semestr1: (MA1: t31, Al1: t32, Chiz1: t33, Ing1: t34, Dis1: t35, Tar: t36),
semestr2: (MA2: t37, Al2: t38, Ing2: t39, Dis2: t40, Chiz2: t41, Ma02: t42, JT: t43, RT: t44));
var Talaba03 = (name: "Botir", Surname: "Davronov", date: "2002.07.10", place: "Toshkent", age: 20);
var GPA03 = (semestr1: (MA1: t51, Al1: t52, Chiz1: t53, Ing1: t54, Dis1: t55, Tar: t56),
semestr2: (MA2: t57, Al2: t58, Ing2: t59, Dis2: t60, Chiz2: t61, Ma02: t62, JT: t63, RT: t64));
var Talaba04 = (name: "Shokir", Surname: "Ermatov", date: "2001.02.01", place: "Samarqand", age: 21);
var GPA04 = (semestr1: (MA1: t71, Al1: t72, Chiz1: t73, Ing1: t74, Dis1: t75, Tar: t76),
semestr2: (MA2: t77, Al2: t78, Ing2: t79, Dis2: t80, Chiz2: t81, Ma02: t82, JT: t83, RT: t84));
var Talaba05 = (name: "Diyor", Surname: "Xoldorov", date: "2000.05.10", place: "Jizzax", age: 22);
var GPA05 = (semestr1: (MA1: t91, Al1: t92, Chiz1: t93, Ing1: t94, Dis1: t95, Tar: t96),
semestr2: (MA2: t97, Al2: t98, Ing2: t99, Dis2: t100, Chiz2: t101, Ma02: t102, JT: t103, RT: t104));
string tekshiruv;
Console.WriteLine("Agar siz Talabalarga masul shaxs bolsangiz <> belgisi qoldiring, agar talaba bolsangiz <> belgisini qoldiring:"); tekshiruv = Convert.ToString(Console.ReadLine());
if (tekshiruv == "Y")
{
string Login;
Console.WriteLine("Loginingizni kiriting:"); Login = Convert.ToString(Console.ReadLine());
if (Login == "2000001")
{
string Password;
Console.WriteLine("Parolingizni kiriting:"); Password = Convert.ToString(Console.ReadLine());
if (Password == "Ball")
{
Console.WriteLine("Assalomu alaykum Domla");
Console.WriteLine("Fan nomi: Matematik Analiz");
int semes;
Console.WriteLine("Semestrni tanlang:"); semes = Convert.ToInt32(Console.ReadLine());
if (semes == 1)
{
Console.WriteLine("1-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t11 = Convert.ToInt32(Console.ReadLine());
if (t11 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t31 = Convert.ToInt32(Console.ReadLine());
if (t31 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t51 = Convert.ToInt32(Console.ReadLine());
if (t51 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t71 = Convert.ToInt32(Console.ReadLine());
if (t71 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t91 = Convert.ToInt32(Console.ReadLine());
if (t91 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else if (semes == 2)
{
Console.WriteLine("2-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t17 = Convert.ToInt32(Console.ReadLine());
if (t17 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t37 = Convert.ToInt32(Console.ReadLine());
if (t37 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t57 = Convert.ToInt32(Console.ReadLine());
if (t57 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t77 = Convert.ToInt32(Console.ReadLine());
if (t77 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t97 = Convert.ToInt32(Console.ReadLine());
if (t97 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else { Console.WriteLine("bunday sesiya yo`q!!!"); }
}
else { Console.WriteLine("Parol hato!!"); }
}
else if (Login == "2000002")
{
string Password;
Console.WriteLine("Parolingizni kiriting:"); Password = Convert.ToString(Console.ReadLine());
if (Password == "Ball2")
{
Console.WriteLine("Assalomu alaykum Domla");
Console.WriteLine("Fan nomi: Algaritm va Dasturlash tili");
int semes;
Console.WriteLine("Semestrni tanlang:"); semes = Convert.ToInt32(Console.ReadLine());
if (semes == 1)
{
Console.WriteLine("1-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t12 = Convert.ToInt32(Console.ReadLine());
if (t12 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t32 = Convert.ToInt32(Console.ReadLine());
if (t32 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t52 = Convert.ToInt32(Console.ReadLine());
if (t52 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t72 = Convert.ToInt32(Console.ReadLine());
if (t72 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t92 = Convert.ToInt32(Console.ReadLine());
if (t92 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else if (semes == 2)
{
Console.WriteLine("2-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t18 = Convert.ToInt32(Console.ReadLine());
if (t18 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t38 = Convert.ToInt32(Console.ReadLine());
if (t38 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t58 = Convert.ToInt32(Console.ReadLine());
if (t58 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t78 = Convert.ToInt32(Console.ReadLine());
if (t78 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t98 = Convert.ToInt32(Console.ReadLine());
if (t98 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else { Console.WriteLine("bunday sesiya yo`q!!!"); }
}
else { Console.WriteLine("Parol hato"); }
}
else if (Login == "2000003")
{
string Password;
Console.WriteLine("Parolingizni kiriting:"); Password = Convert.ToString(Console.ReadLine());
if (Password == "Ball3")
{
Console.WriteLine("Assalomu alaykum Domla");
Console.WriteLine("Fan nomi: Chiziqli algebra va analitik geometriya");
int semes;
Console.WriteLine("Semestrni tanlang:"); semes = Convert.ToInt32(Console.ReadLine());
if (semes == 1)
{
Console.WriteLine("1-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t13 = Convert.ToInt32(Console.ReadLine());
if (t13 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t33 = Convert.ToInt32(Console.ReadLine());
if (t33 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t53 = Convert.ToInt32(Console.ReadLine());
if (t53 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t73 = Convert.ToInt32(Console.ReadLine());
if (t73 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t93 = Convert.ToInt32(Console.ReadLine());
if (t93 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else if (semes == 2)
{
Console.WriteLine("2-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t21 = Convert.ToInt32(Console.ReadLine());
if (t21 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t41 = Convert.ToInt32(Console.ReadLine());
if (t41 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t61 = Convert.ToInt32(Console.ReadLine());
if (t61 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t81 = Convert.ToInt32(Console.ReadLine());
if (t81 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t101 = Convert.ToInt32(Console.ReadLine());
if (t101 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else { Console.WriteLine("bunday sesiya yo`q!!!"); }
}
else { Console.WriteLine("Parol hato"); }
}
else if (Login == "2000004")
{
string Password;
Console.WriteLine("Parolingizni kiriting:"); Password = Convert.ToString(Console.ReadLine());
if (Password == "Ball4")
{
Console.WriteLine("Assalomu alaykum Domla");
Console.WriteLine("Fan nomi: Chet tili");
int semes;
Console.WriteLine("Semestrni tanlang:"); semes = Convert.ToInt32(Console.ReadLine());
if (semes == 1)
{
Console.WriteLine("1-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t14 = Convert.ToInt32(Console.ReadLine());
if (t14 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t34 = Convert.ToInt32(Console.ReadLine());
if (t34 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t54 = Convert.ToInt32(Console.ReadLine());
if (t54 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t74 = Convert.ToInt32(Console.ReadLine());
if (t74 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t94 = Convert.ToInt32(Console.ReadLine());
if (t94 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else if (semes == 2)
{
Console.WriteLine("2-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t19 = Convert.ToInt32(Console.ReadLine());
if (t19 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t39 = Convert.ToInt32(Console.ReadLine());
if (t39 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t59 = Convert.ToInt32(Console.ReadLine());
if (t59 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t79 = Convert.ToInt32(Console.ReadLine());
if (t79 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t99 = Convert.ToInt32(Console.ReadLine());
if (t99 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else { Console.WriteLine("bunday sesiya yo`q!!!"); }
}
else { Console.WriteLine("Parol hato"); }
}
else if (Login == "2000005")
{
string Password;
Console.WriteLine("Parolingizni kiriting:"); Password = Convert.ToString(Console.ReadLine());
if (Password == "Ball5")
{
Console.WriteLine("Assalomu alaykum Domla");
Console.WriteLine("Fan nomi: Diskretik matematika va matematik mantiq");
int semes;
Console.WriteLine("Semestrni tanlang:"); semes = Convert.ToInt32(Console.ReadLine());
if (semes == 1)
{
Console.WriteLine("1-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t15 = Convert.ToInt32(Console.ReadLine());
if (t15 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t35 = Convert.ToInt32(Console.ReadLine());
if (t35 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t55 = Convert.ToInt32(Console.ReadLine());
if (t55 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t75 = Convert.ToInt32(Console.ReadLine());
if (t75 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t95 = Convert.ToInt32(Console.ReadLine());
if (t95 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else if (semes == 2)
{
Console.WriteLine("2-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t20 = Convert.ToInt32(Console.ReadLine());
if (t20 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t40 = Convert.ToInt32(Console.ReadLine());
if (t40 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t60 = Convert.ToInt32(Console.ReadLine());
if (t60 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t80 = Convert.ToInt32(Console.ReadLine());
if (t80 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t100 = Convert.ToInt32(Console.ReadLine());
if (t100 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else { Console.WriteLine("bunday sesiya yo`q!!!"); }
}
else { Console.WriteLine("Parol hato"); }
}
else if (Login == "2000006")
{
string Password;
Console.WriteLine("Parolingizni kiriting:"); Password = Convert.ToString(Console.ReadLine());
if (Password == "Ball6")
{
Console.WriteLine("Assalomu alaykum Domla");
Console.WriteLine("Fan nomi: O`zbekistonning eng yangi tarixi");
int semes;
Console.WriteLine("Semestrni tanlang:"); semes = Convert.ToInt32(Console.ReadLine());
if (semes == 1)
{
Console.WriteLine("1-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t16 = Convert.ToInt32(Console.ReadLine());
if (t16 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t36 = Convert.ToInt32(Console.ReadLine());
if (t36 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t56 = Convert.ToInt32(Console.ReadLine());
if (t56 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t76 = Convert.ToInt32(Console.ReadLine());
if (t76 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t96 = Convert.ToInt32(Console.ReadLine());
if (t96 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else { Console.WriteLine("bunday sesiya yo`q!!!"); }
}
else { Console.WriteLine("Parol hato"); }
}
else if (Login == "2000007")
{
string Password;
Console.WriteLine("Parolingizni kiriting:"); Password = Convert.ToString(Console.ReadLine());
if (Password == "Ball7")
{
Console.WriteLine("Assalomu alaykum Domla");
Console.WriteLine("Fan nomi: Rus tili");
int semes;
Console.WriteLine("Semestrni tanlang:"); semes = Convert.ToInt32(Console.ReadLine());
if (semes == 2)
{
Console.WriteLine("2-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t24 = Convert.ToInt32(Console.ReadLine());
if (t24 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t44 = Convert.ToInt32(Console.ReadLine());
if (t44 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t64 = Convert.ToInt32(Console.ReadLine());
if (t64 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t84 = Convert.ToInt32(Console.ReadLine());
if (t84 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t104 = Convert.ToInt32(Console.ReadLine());
if (t104 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else { Console.WriteLine("bunday sesiya yo`q!!!"); }
}
else { Console.WriteLine("Parol hato"); }
}
else if (Login == "2000008")
{
string Password;
Console.WriteLine("Parolingizni kiriting:"); Password = Convert.ToString(Console.ReadLine());
if (Password == "Ball8")
{
Console.WriteLine("Assalomu alaykum Domla");
Console.WriteLine("Fan nomi: Jismoniy tarbiya");
int semes;
Console.WriteLine("Semestrni tanlang:"); semes = Convert.ToInt32(Console.ReadLine());
if (semes == 2)
{
Console.WriteLine("2-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t23 = Convert.ToInt32(Console.ReadLine());
if (t23 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t43 = Convert.ToInt32(Console.ReadLine());
if (t43 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t63 = Convert.ToInt32(Console.ReadLine());
if (t63 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t83 = Convert.ToInt32(Console.ReadLine());
if (t83 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t103 = Convert.ToInt32(Console.ReadLine());
if (t103 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else { Console.WriteLine("bunday sesiya yo`q!!!"); }
}
else { Console.WriteLine("Parol hato"); }
}
else if (Login == "2000009")
{
string Password;
Console.WriteLine("Parolingizni kiriting:"); Password = Convert.ToString(Console.ReadLine());
if (Password == "Ball9")
{
Console.WriteLine("Assalomu alaykum Domla");
Console.WriteLine("Fan nomi: Malakaviy amaliyot");
int semes;
Console.WriteLine("Semestrni tanlang:"); semes = Convert.ToInt32(Console.ReadLine());
if (semes == 2)
{
Console.WriteLine("2-semestr talabalari:");
Console.WriteLine("Javohirbek Mamirov baxosi: "); t22 = Convert.ToInt32(Console.ReadLine());
if (t22 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Sardor Farhodov baxosi: "); t42 = Convert.ToInt32(Console.ReadLine());
if (t42 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Botir Davronov baxosi: "); t62 = Convert.ToInt32(Console.ReadLine());
if (t62 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Shokir Ermatov baxosi: "); t82 = Convert.ToInt32(Console.ReadLine());
if (t82 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
Console.WriteLine("Diyor Xoldorov baxosi: "); t102 = Convert.ToInt32(Console.ReadLine());
if (t102 >= 3) { Console.WriteLine("Yakuniy imtixonga tafsiya etildi!"); } else { Console.WriteLine("Yakuniy imtixonga tafsiya etilmadi!"); }
}
else { Console.WriteLine("bunday sesiya yo`q!!!"); }
}
else { Console.WriteLine("Parol hato"); }
}
else { Console.WriteLine("Bunday login mavjud emas!!!"); }
}
else if (tekshiruv == "T")
{
double GPA001, GPA002, GPA003, GPA004, GPA005;
double GPA021, GPA022, GPA023, GPA024, GPA025;
GPA001 = (7 * GPA01.semestr1.MA1 + 5 * GPA01.semestr1.Al1 + 5 * GPA01.semestr1.Chiz1 + 5 * GPA01.semestr1.Dis1 + 4 * GPA01.semestr1.Ing1 + 4 * GPA01.semestr1.Tar)/30;
GPA002 = (7 * GPA02.semestr1.MA1 + 5 * GPA02.semestr1.Al1 + 5 * GPA02.semestr1.Chiz1 + 5 * GPA02.semestr1.Dis1 + 4 * GPA02.semestr1.Ing1 + 4 * GPA02.semestr1.Tar)/30;
GPA003 = (7 * GPA03.semestr1.MA1 + 5 * GPA03.semestr1.Al1 + 5 * GPA03.semestr1.Chiz1 + 5 * GPA03.semestr1.Dis1 + 4 * GPA03.semestr1.Ing1 + 4 * GPA03.semestr1.Tar)/30;
GPA004 = (7 * GPA04.semestr1.MA1 + 5 * GPA04.semestr1.Al1 + 5 * GPA04.semestr1.Chiz1 + 5 * GPA04.semestr1.Dis1 + 4 * GPA04.semestr1.Ing1 + 4 * GPA04.semestr1.Tar)/30;
GPA005 = (7 * GPA05.semestr1.MA1 + 5 * GPA05.semestr1.Al1 + 5 * GPA05.semestr1.Chiz1 + 5 * GPA05.semestr1.Dis1 + 4 * GPA05.semestr1.Ing1 + 4 * GPA05.semestr1.Tar)/30;
GPA021 = (7 * GPA01.semestr2.MA2 + 4 * GPA01.semestr2.Al2 + 5 * GPA01.semestr2.Chiz2 + 4 * GPA01.semestr2.Dis2 + 2 * GPA01.semestr2.Ing2 + 4 * GPA01.semestr2.RT + 2 * GPA01.semestr2.JT + 2 * GPA01.semestr2.Ma02) / 30;
GPA022 = (7 * GPA02.semestr2.MA2 + 4 * GPA02.semestr2.Al2 + 5 * GPA02.semestr2.Chiz2 + 4 * GPA02.semestr2.Dis2 + 2 * GPA02.semestr2.Ing2 + 4 * GPA02.semestr2.RT + 2 * GPA02.semestr2.JT + 2 * GPA02.semestr2.Ma02) / 30;
GPA023 = (7 * GPA03.semestr2.MA2 + 4 * GPA03.semestr2.Al2 + 5 * GPA03.semestr2.Chiz2 + 4 * GPA03.semestr2.Dis2 + 2 * GPA03.semestr2.Ing2 + 4 * GPA03.semestr2.RT + 2 * GPA03.semestr2.JT + 2 * GPA03.semestr2.Ma02) / 30;
GPA024 = (7 * GPA04.semestr2.MA2 + 4 * GPA04.semestr2.Al2 + 5 * GPA04.semestr2.Chiz2 + 4 * GPA04.semestr2.Dis2 + 2 * GPA04.semestr2.Ing2 + 4 * GPA04.semestr2.RT + 2 * GPA04.semestr2.JT + 2 * GPA04.semestr2.Ma02) / 30;
GPA025 = (7 * GPA05.semestr2.MA2 + 4 * GPA05.semestr2.Al2 + 5 * GPA05.semestr2.Chiz2 + 4 * GPA05.semestr2.Dis2 + 2 * GPA05.semestr2.Ing2 + 4 * GPA05.semestr2.RT + 2 * GPA05.semestr2.JT + 2 * GPA05.semestr2.Ma02) / 30;
int semes;
Console.WriteLine("Semestrni tanlang:"); semes = Convert.ToInt32(Console.ReadLine());
if (semes == 1)
{
Console.WriteLine("-----------------------------------------------------------------------------------------------------------");
Console.WriteLine(" " + " Reference | GPA |");
Console.WriteLine("-----------------------------------------------------------------------------------------------------------");
Console.WriteLine("T/r" + " | " + "NAME" + " | " + "SURNAME" + " | " + "DATE" + " | " + "PLACE" + " | " + "AGE" + "| " + "MA" + " | " + "AD" + " | " + "CH" + " | " + "ING" + " | " + "DIS" + " | " + "Tar" + " | " + "GPA ball" + " |");
Console.WriteLine("-----------------------------------------------------------------------------------------------------------");
Console.WriteLine(" 1 " + " | " + Talaba01.name + "| " + Talaba01.Surname + " | " + Talaba01.date + "| " + Talaba01.place + " | " + Talaba01.age + " | " + GPA01.semestr1.MA1 + " | " + GPA01.semestr1.Al1 + " | " + GPA01.semestr1.Chiz1 + " | " + GPA01.semestr1.Ing1 + " | " + GPA01.semestr1.Dis1 + " | " + GPA01.semestr1.Tar + " | " + GPA001 + " |");
Console.WriteLine("-----------------------------------------------------------------------------------------------------------");
Console.WriteLine(" 2 " + " | " + Talaba02.name + " | " + Talaba02.Surname + "| " + Talaba02.date + "| " + Talaba02.place + " | " + Talaba02.age + " | " + GPA02.semestr1.MA1 + " | " + GPA02.semestr1.Al1 + " | " + GPA02.semestr1.Chiz1 + " | " + GPA02.semestr1.Ing1 + " | " + GPA02.semestr1.Dis1 + " | " + GPA02.semestr1.Tar + " | " + GPA002 + " |");
Console.WriteLine("-----------------------------------------------------------------------------------------------------------");
Console.WriteLine(" 3 " + " | " + Talaba03.name + " | " + Talaba03.Surname + "| " + Talaba03.date + "| " + Talaba03.place + " | " + Talaba03.age + " | " + GPA03.semestr1.MA1 + " | " + GPA03.semestr1.Al1 + " | " + GPA03.semestr1.Chiz1 + " | " + GPA03.semestr1.Ing1 + " | " + GPA03.semestr1.Dis1 + " | " + GPA03.semestr1.Tar + " | " + GPA003 + "|");
Console.WriteLine("-----------------------------------------------------------------------------------------------------------");
Console.WriteLine(" 4 " + " | " + Talaba04.name + " | " + Talaba04.Surname + " | " + Talaba04.date + "| " + Talaba04.place + "| " + Talaba04.age + " | " + GPA04.semestr1.MA1 + " | " + GPA04.semestr1.Al1 + " | " + GPA04.semestr1.Chiz1 + " | " + GPA04.semestr1.Ing1 + " | " + GPA04.semestr1.Dis1 + " | " + GPA04.semestr1.Tar + " | " + GPA004 + " |");
Console.WriteLine("-----------------------------------------------------------------------------------------------------------");
Console.WriteLine(" 5 " + " | " + Talaba05.name + " | " + Talaba05.Surname + "| " + Talaba05.date + "| " + Talaba05.place + " | " + Talaba05.age + " | " + GPA05.semestr1.MA1 + " | " + GPA05.semestr1.Al1 + " | " + GPA05.semestr1.Chiz1 + " | " + GPA05.semestr1.Ing1 + " | " + GPA05.semestr1.Dis1 + " | " + GPA05.semestr1.Tar + " | " + GPA005 + "|");
Console.WriteLine("-----------------------------------------------------------------------------------------------------------");
}
else if (semes == 2)
{
Console.WriteLine("--------------------------------------------------------------------------------------------------------------------");
Console.WriteLine(" " + " Reference | GPA |");
Console.WriteLine("--------------------------------------------------------------------------------------------------------------------");
Console.WriteLine("T/r" + " | " + "NAME" + " | " + "SURNAME" + " | " + "DATE" + " | " + "PLACE" + " | " + "AGE" + "| " + "MA" + " | " + "AD" + " | " + "CH" + " | " + "ING" + " | " + "DIS" + " | " + " JT" + " | " +"RT"+"|"+"ML "+"| "+"GPA ball" + " |");
Console.WriteLine("--------------------------------------------------------------------------------------------------------------------");
Console.WriteLine(" 1 " + " | " + Talaba01.name + "| " + Talaba01.Surname + " | " + Talaba01.date + "| " + Talaba01.place + " | " + Talaba01.age + " | " + GPA01.semestr2.MA2 + " | " + GPA01.semestr2.Al2 + " | " + GPA01.semestr2.Chiz2 + " | " + GPA01.semestr2.Ing2 + " | " + GPA01.semestr2.Dis2 + " | " + GPA01.semestr2.JT + " | " + GPA01.semestr2.RT+" | "+GPA01.semestr2.Ma02+" | "+GPA001 + " |");
Console.WriteLine("--------------------------------------------------------------------------------------------------------------------");
Console.WriteLine(" 2 " + " | " + Talaba02.name + " | " + Talaba02.Surname + "| " + Talaba02.date + "| " + Talaba02.place + " | " + Talaba02.age + " | " + GPA02.semestr2.MA2 + " | " + GPA02.semestr2.Al2 + " | " + GPA02.semestr2.Chiz2 + " | " + GPA02.semestr2.Ing2 + " | " + GPA02.semestr2.Dis2 + " | " + GPA02.semestr2.JT + " | " + GPA02.semestr2.RT + " | " + GPA02.semestr2.Ma02 + " | " + GPA002 + " |");
Console.WriteLine("--------------------------------------------------------------------------------------------------------------------");
Console.WriteLine(" 3 " + " | " + Talaba03.name + " | " + Talaba03.Surname + "| " + Talaba03.date + "| " + Talaba03.place + " | " + Talaba03.age + " | " + GPA03.semestr2.MA2 + " | " + GPA03.semestr2.Al2 + " | " + GPA03.semestr2.Chiz2 + " | " + GPA03.semestr2.Ing2 + " | " + GPA03.semestr2.Dis2 + " | " + GPA03.semestr2.JT + " | " + GPA03.semestr2.RT + " | " + GPA03.semestr2.Ma02 + " | " + GPA003 + "|");
Console.WriteLine("--------------------------------------------------------------------------------------------------------------------");
Console.WriteLine(" 4 " + " | " + Talaba04.name + " | " + Talaba04.Surname + " | " + Talaba04.date + "| " + Talaba04.place + "| " + Talaba04.age + " | " + GPA04.semestr2.MA2 + " | " + GPA04.semestr2.Al2 + " | " + GPA04.semestr2.Chiz2 + " | " + GPA04.semestr2.Ing2 + " | " + GPA04.semestr2.Dis2 + " | " + GPA04.semestr2.JT + " | " + GPA04.semestr2.RT + " | " + GPA04.semestr2.Ma02 + " | " + GPA004 + " |");
Console.WriteLine("--------------------------------------------------------------------------------------------------------------------");
Console.WriteLine(" 5 " + " | " + Talaba05.name + " | " + Talaba05.Surname + "| " + Talaba05.date + "| " + Talaba05.place + " | " + Talaba05.age + " | " + GPA05.semestr2.MA2 + " | " + GPA05.semestr2.Al2 + " | " + GPA05.semestr2.Chiz2 + " | " + GPA05.semestr2.Ing2 + " | " + GPA05.semestr2.Dis2 + " | " + GPA05.semestr2.JT + " | " + GPA02.semestr2.RT + " | " + GPA01.semestr2.Ma02 + " | " + GPA005 + "|");
Console.WriteLine("--------------------------------------------------------------------------------------------------------------------");
}
else { Console.WriteLine("Bunday sesiya Mavjut emas!!!"); }
}
}
}
}

Download 3,12 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   13




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