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
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/16 19:48:05
![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](/uploads/image/z/12729169-1-9.jpg?t=some+question+about+C%2B%2BHallo+EveryoneIch+habe+here+some+questions+about+C%2B%2B.What+do+the+following+Statements+mean%3Fa%29+7+%2F+%28double%292b%29+%28int%29+14.0+%2F+5c%29+%28double%29%287%2F3%29d%29+%28int%29+%2819.0%2F10%29+anda%29+true+%26%26+falseb%29+true+%26%26+%28true+%7C%7C+false%29c%29+%285.1+%3C+3.1%29+%26%26+%283.1)
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
some question about C++
Hallo Everyone
Ich habe here some questions about C++.
What do the following Statements mean?
a) 7 / (double)2
b) (int) 14.0 / 5
c) (double)(7/3)
d) (int) (19.0/10) and
a) true && false
b) true && (true || false)
c) (5.1 < 3.1) && (3.1 < 12.3)
d) (9 % 2) || 9 % 3
Thanks for the answers!
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
sprechen sie deutsch?
a) 7 / (double)2
3.5
b) (int) 14.0 / 5
2
c) (double)(7/3)
2.333333333333333 有效位16位
d) (int) (19.0/10) and
1
a) true && !false
true
b) true && (true || false)
true
c) (5.1 < 3.1) && (3.1 < 12.3)
false
d) !(9 % 2) || 9 % 3
false