O’ZBEKISTON RESPUBLIKASI AXBOROT TEXNOLOGIYALARI VA KOMMUNIKATSIYALARINI RIVOJLANTIRISH VAZIRLIGI
MUHAMMAD AL-XORAZMIY NOMIDAGI
TOSHKENT AXBOROT TEXNOLOGIYALAR UNIVERSITETI
MUSTAQIL ISH
BAJARDI: A’zamov Muhammadqodir
Tekshirdi: Mamatov Abdugani Ermamatovich
#include
#include
using namespace std;
int fact(int n)
{
if (n==0) return 1;
else return n*fact(n-1);
}
int main()
{
int x0, y0;
double y1, y2, y3, y4, y5;
cout<<"x0 = "; cin>>x0;
cout<<"y0 = "; cin>>y0;
for (int i=1; i<=5; i++)
{
switch (i)
{
case 1:
y1=2;
case 2:
y2=4*exp(2*x0);
case 3:
y3=8*exp(2*x0);
case 4:
y4=16*exp(2*x0);
case 5:
y5=32*exp(2*x0);
}
}
cout<<"\ny1 = "<cout<<"\ny2 = "<cout<<"\ny3 = "<cout<<"\ny4 = "<cout<<"\ny5 = "<if (x0==0)
cout<<"\ny = "<else
cout<<"\ny = "<return 0; }
Do'stlaringiz bilan baham: |