#include
#include
using namespace std;
int main(){
int A,B,x=10.1,y=-9.6;
A=1/(tan((x*y*y/6.2+log(x*y*y)-sin(x)*sin(x))/(exp(sin(x))+pow(0.64,-5)*cos(12.7/(x*y*y)))));
B=abs((2*A+sqrt(x*y*y+sin(x)-y)/pow(2.71,A*x)+pow((1+x*y*y),4)));
cout<<"A="<
return 0;
}
N sonini raqamlar ko’paytmasini toping.
#include
#include
using namespace std;
int main()
{
unsigned long int N;int a,c,b,n=1;
cout<<"N ni kiriting:";
cin>>N;
a=log(N)/log(10)/1+1;
for(int i=1;i<=a;i++)
{ b=pow(10,i-1);
c=pow(10,i);
n=n*(N%c/b);
}
cout<
main();}
Do'stlaringiz bilan baham: |