int main int argc char argv float printf vvedite znachenie scanf print

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
int main(int argc, char *argv[])
{
float f,y,q ,a,b,c;
printf("vvedite znachenie y ");
scanf("%f" , &y);
printf("vvvedite znachenie q ");
scanf("%f" , &q);
if( y!=0 || q!=0)
{
if(y!=0)
{
a=tan(y);
printf("%f\n", a);
}
if(q!=0)
{
b=(1/tan(q));
printf("%f", b);
}
}
else
{
c=M_PI/7;
printf("%f" ,c);
}
system("PAUSE");
return 0;
}