> 其他 >
设变量定义如下:int a=2,b=2,c=2,d=2;求表达式:a==b?(c=1):(d=0),求过程.谢谢
人气:388 ℃ 时间:2020-06-18 05:53:48
解答
a==b?(c=1):(d=0)
转换为代码为
if(a==b)
c=1;
else
d=0;
推荐
猜你喜欢
© 2025 79432.Com All Rights Reserved.
电脑版|手机版