Toshkent Axborot Texnologiyalari Universitetining ttf fakulteti eet 521-22 guruh talabasi
Download 0.6 Mb.
|
Muhammad al-Xorazmiy Nomidagi Toshkent Axborot Texnologiyalari Universitetining TTF fakulteti EET 521-22 guruh talabasi Turg’unov Durbekning dasturlash fanidan berilgan topshirig’i. Javob: #include #include using namespace std; int main() { float A=0.6,B=0.5,C=6,y; y=(pow(A,2)+pow(B,2)+pow(C,2))/(log(A*B*C)); cout<<"y="< JAVOB: #include #include using namespace std; int main() {
#include #include using namespace std; int main() { float x; cout<<"x=";cin>>x; if(x>0.4){ cout<<"p="<<0.5*(3*pow(x,2)-1)< else{ cout<<"p="<<0.5*(5*pow(x,3)-3*x)< main(); return 0; 4. #include #include using namespace std; int main() { float a,R1,R2,S; cout<<"a=";cin>>a; R1=a*sqrt(3)/6; R2=2*R1; S=a*a*sqrt(3)/4; cout<<"R1="< } #include #include using namespace std; int main() { float a,R1,R2,S; cout<<"a=";cin>>a; R1=a*sqrt(3)/6; R2=2*R1; S=a*a*sqrt(3)/4; cout<<"R1="< Download 0.6 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling