Question: C++, please answer all the questions right please and thank you 16. The dimensions (width and length) of room #1 have been assigned to two
16. The dimensions (width and length) of room \#1 have been assigned to two variables: width1 and length1. The dimensions of room \#2 have been assigned to two other variables: width2 and length2. Write a math expression whose value is the total area of the two rooms. 17. Overflow means that a variable's value has wrapped around to its data type's lowest possible value. a) True b) False 18. You should be careful when using the equality operator (==) to compare these. a) Floating-point numbers b) Characters c) Strings d) Integers 19. Assume that the variables gpa, deansList and studentName hav e been declared and initialized. Write a statement that both adds 1 to deansList and prints studentName to standard output if gpa exceeds 3.5. 20. When using if statement, all values other than this are considered true. a) 1 b) 0 c) 1 d) 255
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
