Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

9) When converting some algebraic expressions to C++, you may need to insert tha

ID: 3911998 • Letter: 9

Question

9) When converting some algebraic expressions to C++, you may need to insert that do not appear in the algebraic expression. A) values, exponents B) operators, calculations C) operators, operands D) operators, parentheses E) operands, parentheses and 10) What does the following C+ expression evaluate to? 6- 6/33 A) 0 ?) ? C) 5 D) 7 E) None of the above 11) True/False: w hen an operator has two operands of different data types, ?++ always both to double before performing the operation. 12) True/False: The following pair of C+ statements will cause 35 to be output double number-72 cout

Explanation / Answer

Answer 9: Option D

Answer 10: Option D first / will have the priority 6/3 will be 2 so 6-2+3= 7

Answer 11: False, it will take the same type which we gave

Ansewr 12:False , because 7/2 both are integers so output will be in integer so answer is 3

Answer 13: Option E: we can't change the value of constant and we should give value while creating it self

Answer 14: yes true; all sum1,sum2,sum3 will be 0

Answer 15: False; we have given the setprecision as 4 so it will not display as 5.00