6. Uchta haqiqiy son berilgan. Ulardan [1,3] intervalga tegishlilarini tanlang


Download 89.96 Kb.
bet1/2
Sana24.11.2020
Hajmi89.96 Kb.
  1   2

1-topshiriq

6.Uchta haqiqiy son berilgan. Ulardan [1,3] intervalga tegishlilarini tanlang.

#include

using namespace std;

int main()

{

float a,b,c;



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

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

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

cout<<"quyidagi sonlar [1,3] intervalga tegishli"<

if ((a>=1)&&(a<=3)) {cout<

if ((b>=1)&&(b<=3)) {cout<

if ((c>=1)&&(c<=3)) {cout<

return 0;


}
2-topshiriq

6

#include

#include

using namespace std;

int main()

{

float a,b,c,d,y,x;



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

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

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

cout<<"d="; cin>>d; cout<

if ((a>0)&&((a*sin(x*x)+b*b*b)!=0))

{

y=(2*c*c+a*b*cos(x*x))/(a*sin(x*x)+b*b*b); cout<<"y="<

} else

if ((d!=0)&&(sqrt(a*a*a+2*c*c+d*d*d)!=0))

{

y=(a*a+2*b*c*c*c)/sqrt(a*a*a+2*c*c+d*d*d); cout<<"y="<

} else cout<<"Bo'sh to'plam";

return 0;


}


3-topshiriq



  1. x, y haqiqiysonlarberilgan. Koordinatalari (x, y) bo`lgannuqtaquyida keltirilgan rasmdagi tekislikningshtrixlanganqismigategishlimi? (ha/yo`q)

#include


Download 89.96 Kb.

Do'stlaringiz bilan baham:
  1   2




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2020
ma'muriyatiga murojaat qiling