Xayrullayev ibrohim tt- 12. 22-guruh talabasi


Download 209.3 Kb.
Sana09.01.2023
Hajmi209.3 Kb.
#1085193
Bog'liq
amaliyot 2

XAYRULLAYEV IBROHIM TT- 12.22-GURUH TALABASI


#include
#include
using namespace std;
int main(){
float x,y,z;
cout<<" x ni kiriting:";
cin>>x;
cout<<"y ni kiriting";
cin>>y;
if (x>1) { z=pow(x,2)+pow(y,2); } else if (x=1){ z=x+y; } else{ z=0.5+x*y; }
cout<return 0; }

#include
#include
using namespace std;
int main(){
float x,y;
cout<<" x ni kiriting:";
cin>>x;
if (x>=0) {
y=sqrt(x); } else{
y=sin(x); } cout<return 0; }


Download 209.3 Kb.

Do'stlaringiz bilan baham:




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