• 2022-06-18
    与语句[br][/br]if(a>b)[br][/br] if(c>d) x = 1;[br][/br] else x = 2; 等价的是 ____[br][/br] A、 if(a>b) {if(c>d) x = 1; else x = 2;}[br][/br] [br][/br]B、 if(a>b){if(c>d) x = 1;} else x = 2;[br][/br]C、 if((a>b) && (c>d)) x = 1; else x = 2;[br][/br]D、 if(a[ =b) x = 2; else if (c]d) x = 1;