# 4-mavzu misollari va ishlanish yuli

Yüklə 84,25 Kb.
 səhifə 1/3 tarix 30.12.2023 ölçüsü 84,25 Kb. #165285
1   2   3

4-mavzu misollari va ishlanish yuli
/3-misol
#include
using namespace std;
int main()
{

int a;

cout << "bayt kirgizing: ";
cin>>a;
cout<<(a/1024)<

//4-5 misol

int a,b;

cout << "b ni kirgizing: ";
cin>>b;
cout << "a ni kirgizing: ";
cin>>a;
cout<<(a>b)<<"a kesma ichiga nechta b kesmani joylashtirish mumkin: "<<(a/b)<cout<<(a>b)<<"a kesmani ichiga b kesmani joylashmagan qismi: "<<(a%b)<//6,7-misol

int a,a1,b1;

cout<<"a: ";
cin>>a;
a1=a/10;
b1=a%10;
cout<<"unliklar xonasidagi raqam: "<cout<<"birliklar xonasidagi raqam: "<
cout<<"ikalasi yigindisi: "<//8-misol

int a,y,z;
cout<<"a: ";
cin>>a;
y=a%10;
z=a/10;
cout<

//9-misol

int a,b;
cout<<"a: ";
cin>>a;
b=a/100;
cout<<"b: "<

//10-misol

int a,b,c;

cout<<"a: ";
cin>>a;
b=a%10;
c=a/b%10;
cout<<"b: "<cout<<"c: "<//11-misol

int a,yuz,on,bir;
cout<<"a: ";
cin>>a;
yuz=a/100;
on=a%100/10;
bir=a%100%10;

cout<<"yigindisi: "<

//12-misol

int a,bir,on,yuz;
cout<<"a: ";
cin>>a;
bir=a%10;
on=a%100/10;
yuz=a/100;

cout<
//13-misol

int a,bir,on,yuz;

cout<<"a: ";
cin>>a;
yuz=a/100;
on=a%100/10;
bir=a%10;

cout<

//14-misol

int a,bir,on,yuz;
cout<<"a: ";
cin>>a;
bir=a%10;
yuz=a/100;
on=a%100/10;
cout<//15-misol

int a,bir,on,yuz;

cout<<"a: ";
cin>>a;
yuz=a/100;
bir=a%10;
on=a%100/10;
cout<//16-misol

int a,bir,on,yuz;

cout<<"a: ";
cin>>a;
yuz=a/100;
bir=a%10;
on=a%100/10;
cout<return 0;

}
//1- misol

int a,tonna;

cout<<"kg da kiriting: " ;
cin>>a;
tonna=a/1000;
cout<<"tonna: "<//2-misol

int a,metr;
cout<<"sm da kiriting: " ;
cin>>a;
metr=a/100;
cout<<"metr: "<

//3-misol

int a,kb;
cout<<"bayt da kiriting: " ;
cin>>a;
kb=a/1024;
cout<<"kb da: "<

//4-misol

int a,on,bir;
cout"a: ";
cin>>a;
on=a/10;
bir=a%10
cout<<"on: "<//5-misol

int a,on,bir;
cout"a: ";
cin>>a;
on=a/10;
bir=a%10
cout<<"yigindisi: "<

//6-misol

int a,on,bir;
cout"a: ";
cin>>a;
on=a/10;
bir=a%10
cout<<"yigindisi: "<

//7-misol

int a ,yuz;
cout<<"a: ";
cin>>a;
yuz=a/100;
cout<<"yuz: "<//8-misol

int a,bir,on;
cout<<"a: ";
cin>>a;
bir=a%100%10;
on=a%100/10
cout<//9-misol

int a,yuz,on,bir;
cout<<"a: ";
cin>>a;
yuz=a/100;
on=a%100/10;
bir=a%100%10;

cout<<"yigindisi: "<

//10-misol

int a,bir,on,yuz;

cout<<"a: ";
cin>>a;
bir=a%10;
on=a%100/10;
yuz=a/100;

cout<

//11-misol

int a,bir,on,yuz;

cout<<"a: ";
cin>>a;
on=a%100/10;
bir=a%10;
yuz=a/100;
cout<//12-misol

int a,bir,on,yuz;
cout<<"a: ";
cin>>a;
bir=a%10;
yuz=a/100;
on=a%100/10;
cout<

//13-misol

int a,bir,on,yuz;
cout<<"a: ";
cin>>a;
on=a%100/10;
yuz=a/100;
bir=a%100%10;
cout<//20-misol

int s;
cout<<"s: ";
cin>>s;

cout<<" soat: "<

return 0;

}

## O'rnatish usuliga ko'ra, devorga o'rnatiladigan rezistorlar, bosilgan simlar va mikrosxemalar va mikrosxemalarning bir qismi sifatida ishlatiladi.

Rezistorlar to'plami - bu mikrosxemaning korpusida yoki mikrosirkulyator bilan uyning juftlashuvida bitta dizaynda birlashtirilgan rezistorlar to'plamidir. Ular maqsadga muvofiq (umumiy maqsad, aniqlik, yuqori kuchlanish, yuqori megohm), qarshilik elementining turi va kontaktlarning zanglashiga oid dizayn (oddiy va funktsional to'plam, doimiy va o'zgaruvchan rezistorlardan iborat kombinatsiyalangan to'plam).

## Diod - bu bir tomonlama o'tkazuvchanlikka ega bo'lgan ikkita (ba'zan uchta) elektrodga ega elektron qurilma. Qurilmaning musbat qutbiga ulangan elektrodga anod, manfiyga - katod deyiladi. Agar qurilmaga to'g'ridan-to'g'ri kuchlanish qo'llanilsa, u ochiq holatda bo'ladi, unda qarshilik kichik va oqim to'sqinliksiz oqadi. Agar teskari kuchlanish qo'llanilsa, yuqori qarshilik tufayli qurilma yopiladi. Teskari oqim mavjud, ammo u shunchalik kichikki, u shartli ravishda nolga teng deb qabul qilinadi.

Yüklə 84,25 Kb.

Dostları ilə paylaş:
1   2   3

Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

Ana səhifə