(bonus question) How does C++ handle true or false with regards to storing these values. Mark all that apply, if any
a. only a 1 is equal to true.
b. only 0 is considered true.
c. a 0 is considered false.
d. anything other than 0 is considered true.
e. None of the above, they are stored as T or F.
Remember the lecture from Monday on making decisions and you'll do fine.
Answers for C++ Course using "Starting out with C++ : from control structures through objects" by Tony Gaddis. 7/8th ed. I used the Pearson myprogramminglab to complete the homework. Here are my solutions/answers for the exercises/labs so please use the test bank as a GUIDE if you're stuck. Let me know if you find a better solution to a problem or any of the programming challenges. Thanks in advance for your support! Send in missing programming challenges to cplusplus.answers@gmail.com
Subscribe to:
Post Comments (Atom)
d. anything other than 0 is considered true.
ReplyDelete