помогите дописать код.
int main()
{
double x,y,f,d;
int k=0;
printf("Input x-> ");
scanf("%if", &x);
printf("Input y-> ");
scanf("%if", &y);
printf("Select f: 1 - arcsin(x/y), 2 - e^y, 3 - ln(x*y) ->");
scanf("%d", &k);
switch(k)
{
case 1: f=asin(y/x); break;
case 2: f=exp(y); break;
case 3: f=log(x*y); break;
default: printf("Function is not selected\n");
return 1;
}
if (x>y)
{
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.