#include using namespace std; int main { int a,p; couta; p=a*4; cout



Download 18,66 Kb.
Sana31.12.2021
Hajmi18,66 Kb.
#266130

    1. kvadratning tomoni berilgan,uning perimetrini toping p=a*4

#include

using namespace std;

int main()

{

int a,p;

cout<<"a="; cin>>a;

p=a*4;

cout<<"p="<


main();

}

1.2 kvadratning tomoni berilgan uning yuzasini toping S=a*a


#include

using namespace std;

int main()

{

int a,s;

cout<<"a="; cin>>a;

s=a*a;

cout<<"s="<

main();

}
1.3To`g`ri to`rtburchakning tomonlari a va b peremetri p=2(a+b),

Yuzasi S=a*b

#include

using namespace std;

int main()

{

int a,b,s,p;

cout<<"a="; cin>>a;

cout<<"b"; cin>>b;

s=a*b;

p=2*(a+b);

cout<<"s="<

cout<<"p="<


main(); }

1.4 d aylananing diametri berilgan,uning uzunligi toping L=3.14*d.



#include

using namespace std;

int main()

{

float d,L;

cout<<"d=";

cin>>d;

L=3.14*d;

cout<<"L="<

main();

}
1.5 kubning chetining uzunligi berilgan kubning hajmi va sirtini toping?V=a*a*a S=6*a*a
#include

using namespace std;

int main()

{

int a,v,s;

cout<<"a="; cin>>a;

v=a*a*a;

s=6*a*a;

cout<<"v="<

cout<<"s="<

main();

}

1.6 To`rtburchaklar parallelepepedning a,b,c berilgan uninng hajmi va sirtini toping v=a*b*c s=2*(a*b+b*c+c*a).



#include

using namespace std;

int main()

{

int a,b,c,v,s;

cout<<"a="; cin>>a;

cout<<"b="; cin>>b;

cout<<"c="; cin>>c;

v=a*b*c;

s=2*(a*b+a*c+b*c);

cout<<"v="<

cout<<"s="<

main();}

1.7 L berilgan doirani yuzini toping L=2*p*r s=p*r*r



#include

using namespace std;

int main()
{

float L,s,r;

cout<<"L="; cin>>L;

r=L/(2*3.14);

cout<<"r="<

s=3.14*r*r;

cout<<"s="<

main();}

1.8 a va b raqamlari berilgan ularning o`rta qiymatini toping



#include

using namespace std;

int main()

{

int a,b,s;

cout<<"a="; cin>>a;

cout<<"b="; cin>>b;

s=(a+b)/2;

cout<<"s="<

main();

}

1.9 a va b berilgan ularning geometrigini toping



#include

using namespace std;

int main()

{

double a,b,s;

cout<<"a="; cin>>a;

cout<<"b="; cin>>b;

cout<<"s=sqrt(a*b)"<

main();

}

1.10 2ta son berilga ularning kvadratlari yigindisi farqi va ko`paytmasini toping



#include

using namespace std;

int main()

{

double a,b,c,x,y,s;

cout<<"a="; cin>>a;

cout<<"b="; cin>>b;

c=a*a+b*b;

x=a-b;

y=a*b;

s=a+b;

cout<<"c="<

cout<<"x="<

cout<<"y="<

cout<<"s="<

1.11 2 raqam berilgan ularning farqini hosilasini va miqdorini toping



#include

#include

using namespace std;

int main()

{

double a,b,c,x,s,a1,b1;

cout<<"a="; cin>>a;

cout<<"b="; cin>>b;

a1=abs(a);

b1=abs(b);

c=a1+b1;

x=a-b;

s=a+b;

cout<<"c="<

cout<<"x="<

cout<<"s="<

main();

}

1.12 a vab to`g`ri burchakli uchburchak tomonlari uning gipotenuzasi va perimetrini toping?



#include

#include

using namespace std;

int main()

{

double a,b,p,c;

cout<<"a="; cin>>a;

cout<<"b="; cin>>b;

c=sqrt(a*a+b*b);

cout<<"c="<

p=a+b+c;

cout<<"p="<

main();

}

1.14 aylananing yuzasini toping L berilgan

#include

#include

using namespace std;

int main()

{

double s,r,L;



cout<<"L="; cin>>L;

r=L/(2*3.14);

cout<<"r="<

s=3.14*r*r;

cout<<"s="< main();

}
1.15 aylana yuzasini toping

#include

#include

using namespace std;

int main()

{

double d,L,s;



cout<<"L="; cin>>L;

d=L/(3.14);

cout<<"d="<

s=3.14*d*d/4;

cout<<"s="< main();

}

1.16 x1 va x2 berilgan 2 nuqta orasidagi masofani aniqlang?



#include

#include

using namespace std;

int main()

{

double x,y,s;



cout<<"x="; cin>>x;

cout<<"y="; cin>>y;

s=abs(x-y);

cout<<"s="<
main();

}

1.17 son o`qida a b c nuqtalar berilgan ac va bc kesmalar uzinliklari va yig`indisini toping



#include

#include

using namespace std;

int main()

{

double a,b,c,x,y,s;



cout<<"a="; cin>>a;

cout<<"b="; cin>>b;

cout<<"c="; cin>>c;

x=abs(c-a);

y=abs(c-b);

cout<<"x="<

cout<<"y="<

s=x+y;


cout<<"s="< main();


}

1.18 son o`qida a b c nuqtalar berilgan ac va bc chiziqlar uunliklari ko`paytmasini toping

#include

#include

using namespace std;

int main()

{

double a,b,c,x,y,s;



cout<<"a="; cin>>a;

cout<<"b="; cin>>b;

cout<<"c="; cin>>c;

x=abs(c-a);

y=abs(b-c);

cout<<"x="<

cout<<"y="<

s=x*y;


cout<<"s="< main();


}

1.9


#include

#include

using namespace std;

int main()

{

double x1,y1,x2,y2,a,b,s,p;



cout<<"x1=";

cin >>( x1);

cout<<("y1=");

cin >>(y1);

cout<<("x2=");

cin >>(x2);

cout<<("y2=");

cin >>(y2);

a=abs(x1-x2);

b=abs(y1-y2);

s=a*b;

p=(a+b)*2;



cout<<"p="<


cout<<"s="<

return 0;

}

1.22


#include

using namespace std;

int main()

{

double a,b,x;



cout<<"a="; cin>>a;

cout<<"b="; cin>>b;

a=b;

b=a;


cout<<"a="<

cout<<"b="<

a=a+b;

b=a-b;


cout<<"a="< cout<<"b="<

}

1.23


#include

#include

using namespace std;

int main()

{

double x,y,a,b,c;



cout<<"a=";

cin >>( a);

cout<<("b=");

cin >>(b);

cout<<("c=");

cin >>(c);

x=b;

b=a;


y=c;

c=x;


a=y;

cout<<"a="<

cout<<"b="<

cout<<"c="<
return 0;

}
1.25 yunksiyani qiymatini toping

#include

#include

using namespace std;

int main()

{

double y,x;



cout<<"x="; cin>>x;

y=3*x*x*x*x*x*x-6*x*x-7;

cout<<"y="<

return 0;

}

1.26


#include

#include

using namespace std;

int main()

{

double y,x;



cout<<"x="; cin>>x;

y=4*pow(x-3,6)-7*pow(x-3,3)+2;

cout<<"y="<

return 0;

}

1.27


#include

#include

using namespace std;

int main()

{

double a,x;



cout<<"a="; cin>>a;

x=a*a;


cout<<"x"< x=x*x;


cout<<"x"< x=x*x;


cout<<"x"<}

1.28



#include

#include

using namespace std;

int main()

{

double a,x,y;



cout<<"a="; cin>>a;

x=a*a;


cout<<"x="< y=x*a;


cout<<"y="< x=y*x;


cout<<"x="< x=x*x;


cout<<"x="< x=x*x;


cout<<"x="< return 0;



}

Download 18,66 Kb.

Do'stlaringiz bilan baham:




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