some question about C++

学习 时间:2026-08-15 18:30:45 阅读:945
some question about C++Hallo EveryoneIch habe here some questions about C++.What do the following Statements mean?a) 7 / (double)2b) (int) 14.0 / 5c) (double)(7/3)d) (int) (19.0/10) anda) true && falseb) true && (true || false)c) (5.1 < 3.1) && (3.1 < 12.3)d) (9 % 2) || 9 % 3Thanks for the answers!

最佳回答

迷路的帽子

大方的小蚂蚁

2026-08-15 18:30:45

sprechen sie deutsch?a) 7 / (double)2 3。5b) (int) 14。0 / 5 2c) (double)(7/3) 2。333333333333333 有效位16位d) (int) (19。0/10) and 1a) true && !false trueb) true && (true || false) truec) (5。1 < 3。1) && (3。1 < 12。3) falsed) !(9 % 2) || 9 % 3 false

最新回答共有2条回答

  • 缥缈的睫毛
    回复
    2026-08-15 18:30:45

    sprechen sie deutsch?a) 7 / (double)2 3。5b) (int) 14。0 / 5 2c) (double)(7/3) 2。333333333333333 有效位16位d) (int) (19。0/10) and 1a) true && !false trueb) true && (true || false) truec) (5。1 < 3。1) && (3。1 < 12。3) falsed) !(9 % 2) || 9 % 3 false

上一篇 为什么要加画圈部分的那个不等式啊?这种问题应该怎么控制

下一篇 下列可逆反应达到平衡后,升高温度可使混合气体平均分子量增大的是