已知x=-30,y=-4,求|x|-3|y|.
举一反三
- 已知int x=3,y=4;,写出下列表达式的值 (1) (x,y) (2) x>y?x:y (3) x?y:x (4) (x>y)?(y>=2)?1:2:(y>x)?x:y
- 设矩阵,已知A的特征值是λ1=2,λ2=λ3=1,则()。 A: x=-4,y=3 B: x=-4,y=-3 C: x=4,y=-3 D: x=4,y=3
- 已知3个点A(x,5),B(-2,y),C(1,1),若点C是线段AB的中点,则______. A: x=4,y=-3 B: x=0,y=3 C: x=0,y=-3 D: x=-4,y=-3 E: x=3,y=-4
- 如下C程序的输出是什么?#include [stdio.h]void Func1 (int x, int y);void Func2 (int *x, int *y); int main() { int x = 3; int y = 4;Func1 (x, y); printf ("x = %d, y = %d\n", x, y);Func2(&x, &y); printf ("x = %d, y = %d\n", x, y);} void Func1 (int x, int y) { x = x + y; y = x - y; x = x - y; printf ("x = %d, y = %d\n", x, y);} void Func2 (int *x, int *y) { *x = *x + *y; *y = *x - *y; *x = *x - *y;;} A: x = 3, y = 4x = 3, y = 4x = 3, y = 4 B: x = 4, y = 3x = 4, y = 3x = 4, y = 3 C: x = 3, y = 4x = 3, y = 4x = 4, y = 3 D: x = 4, y = 3x = 3, y = 4x = 4, y = 3
- 编程:已知x=3,y=4,求(2x+3y)/(2y-x)的值。