Created
November 20, 2012 11:21
-
-
Save vertrigo/4117371 to your computer and use it in GitHub Desktop.
лаб1 си - вариант 18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <math.h> | |
| main() | |
| { | |
| float x,y,z,b; | |
| printf("Введите значение x:\n"); | |
| scanf("%f",&x); | |
| printf("Введите значение y:\n"); | |
| scanf("%f",&y); | |
| z=(2*x+pow(abs(x+y),1.0/3))/log(x); | |
| b=z+sin(x)+log(abs(x+y+z)); | |
| printf("Результат: x=%5.2f y=%5.2f z=%5.2f b=%5.2f\n",x,y,z,b); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment