相关代码 |
|
#include #include #include int main(void) { double a; double b; printf("a und b eingeben : "); scanf("%lf %lf", &a, &b); printf("a + b = %lf\n", a + b); printf("a - b = %lf\n", a - b); printf("a * b = %lf\n", a * b); printf("a / b = %lf\n", a / b); printf("sin(a)= %lf\n", sin(a)); printf("cos(b)= %lf\n", cos(b)); printf("sqrt a= %lf\n", sqrt(a)); return 0; }
相关资源 |
|