1-Laboratiriya ishi
Baxtiyorov Abdullo
1-masala
#include
#include
using namespace std;
int main()
{ float b=4,a,c;
float alfa=180/6,gama=180/2,beta;
beta=180-alfa-gama ;
cout << "\nalfa=" << alfa << "\tgama=" << gama << "\tekanidan: ";
cout << "\n\t\t\t beta=" <
a=(b/sin(M_PI/3))*sin(M_PI/6);
c=(b/sin(M_PI/3))*sin(M_PI/2);
cout << "\na tomon: " << a;
cout << "\nc tomon: " << c;
cout << "\nPerimetr: " << a+b+c;
cout << "\nYuza: " << a*b/2;
cout << "\nR:\t " << (c/sin(M_PI/2))/2;
cout << "\nr:\t " << (a+b-c)/2;
cout << "\n\n";
return 0;
}
2-masala
#include
#include
using namespace std;
int main()
{
int x=3,y=-2;
bool A=false,z;
z=(2<=x) && (x<4) && ( (2.8
cout << "z=" << z;
return 0;
}
Do'stlaringiz bilan baham: |