Web learn
27 subscribers
15 photos
1 video
4 files
73 links
Learn: HTML ,CSS ,JS, C++
Admin: @saparboyevvv_u
Admin: @anv404
Download Telegram
<!DOCTYPE html>
<html>
<head>
<style>
.style{
color: aliceblue;
background-color: rgb(11, 21, 155);
text-align: center;
font-size: 20px;
}
header{
height: 100px;
line-height: 100px;
}
nav{
margin-top: 1px;
height: 100px;
line-height: 100px;
}
section{
height: 500px;
margin-top: 1px;
line-height: 500px;
width: 70%;
float: left;
}

aside{
height: 500px;
line-height: 500px;
margin-top: 1px;
width: 30%;
float: left;
}
footer{
height: 100px;
line-height: 100px;
margin-top: 1px;
float: left;
width: 100%;
}
</style>

<title>
layout
</title>
</head>
<body>
<header class="style">
header
</header>
<nav class="style">
nav
</nav >
<section class="style">
selection
</section>
<aside class="style">
aside
</aside>
<footer class="style">
footer
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>
progress
</title>
<link rel="icon" type="image/jpg" href="ansel/photo_2025-09-10_15-04-16.jpg">
</head>
<body>
<h1>
progress school
</h1>
<div>
<audio controls>
<source src="ansel/music.mp3" type="audio/mp3">

</audio>
</div>
<video controls width="500px" height="450px">
<source src="ansel/IMG_3102.MOV" type="video/mp4">

</video>

</body>
</html>
Deklaratsiya <!DOCTYPE html>ushbu hujjat HTML5 hujjati ekanligini belgilaydi
Element <html>HTML sahifasining ildiz elementidir
Element <head>HTML sahifasi haqidagi meta-ma'lumotni o'z ichiga oladi
Element <title>HTML sahifasi uchun sarlavhani belgilaydi (bu brauzerning sarlavha satrida yoki sahifa yorlig'ida ko'rsatilgan)
Element <body>hujjatning tanasini belgilaydi va sarlavhalar, paragraflar, rasmlar, giperhavolalar, jadvallar, ro'yxatlar va boshqalar kabi barcha ko'rinadigan tarkiblar uchun konteynerdir.
Element <h1>katta sarlavhani belgilaydi
Element <p>paragrafni belgilaydi
HTML elementi nima?
HTML elementi boshlang'ich teg, ba'zi kontent va tugatish tegi bilan belgilanadi:

< tagname > Kontent shu yerda... < /tagname >
HTML elementi boshlang'ich tegdan tortib to tugatish tegigacha bo'lgan hamma narsadir:

< h1 > Mening birinchi sarlavham < /h1 >
< p > Mening birinchi xatboshim. </p>
This media is not supported in your browser
VIEW IN TELEGRAM
Kompyuter injineringi 1-kurs 1-Tajriba ishi 1-topshiriq javoblari๐Ÿ‘‡
1.1#include <iostream>
using namespace std;

int main() {
double x, V;
cin >> x;
V = x * x * x;
cout << V;
}
1.2 #include <iostream>
using namespace std;

int main() {
double r1, r2, r3;
cin >> r1 >> r2 >> r3;
double S1 = 3.14 * r1 * r1;
double S2 = 3.14 * r2 * r2;
double S3 = 3.14 * r3 * r3;
cout << S1 << " " << S2 << " " << S3;
}
3. Teng yonli uchburchak peremetri P berilgan, uchburchak tomoni va yuzini toping
#include <iostream>
#include <cmath>
using namespace std;

int main() {
double P, a, S;
cin >> P;
a = P / 3;
S = sqrt(3) / 4 * a * a;
cout << a << " " << S;
}
4. Tekislikda uchta nuqta A(x1,y1), B(x2,y2), C(x3,y3) berilgan AB va AC nuqtalar orasidagi masofani toping.
#include <iostream>
#include <cmath>
using namespace std;

int main() {
double x1,y1,x2,y2,x3,y3;
cin >> x1 >> y1 >> x2 >> y2 >> x3 >> y3;
double AB = sqrt((x2-x1)*(x2-x1) + (y2-y1)*(y2-y1));
double AC = sqrt((x3-x1)*(x3-x1) + (y3-y1)*(y3-y1));
cout << AB << " " << AC;
}
5. Toโ€™gโ€™ri burchakli uchburchak katetlari a va b berilgan, uchburchak gipotenuzasini, yuzini va burchaklari sinusini toping.
#include <iostream>
#include <cmath>
using namespace std;

int main() {
double a, b;
cin >> a >> b;
double c = sqrt(a*a + b*b);
double S = a*b/2;
double sinA = a / c;
double sinB = b / c;
cout << c << " " << S << " " << sinA << " " << sinB;
}
6. Ikki xonali son berilgan raqamlar yigโ€™indisini toping.
#include <iostream>
using namespace std;

int main() {
int n;
cin >> n;
int s = (n / 10) + (n % 10);
cout << s;
}
7. Uzunlik a metr b detsimetr va c santimetrda berilgan ularni m, dm va sm da ifodalng. (M: 3m 50dm 20sm โ€“ 8,2m, 82 dm, 820 sm)
#include <iostream>
using namespace std;

int main() {
int a, b, c;
cin >> a >> b >> c;

int t = a*100 + b*10 + c;

double m = t / 100.0;
int dm = t / 10;
int sm = t;

cout << m << " " << dm << " " << sm;
}
8. Uch xonali a son berilgan bu sonning yuzlar, oโ€™nlar va birlar xonasidagi raqamlarini alohida alohida yozing.