Brooke C.

asked • 11/10/15

CST 295 C++ Question

This is a CST 295 C++ Question.
 
Evaluate the following expression. (Compute the value) Be aware of implicit type conversion (I).
 
A. 4 + 24 / 3 * 4
 
B. 5 < 10 && 0 + 1
 
C. (age>=65)?"senior":"adult" // Assume that age is 45
 
D. "NDM" < "ndm"
 
E. 20 % 6 == 0
 
F. pow(2, 5) - pow(5, 2)
 
G. (3 < 4) || (4 < 5) && (10 == 9)
 
H. n-- + 2 // Assume n is 0
 
I. static_cast<double>(3) / 6 * 2 J. 3 / 6 * 2

1 Expert Answer

By:

Andy C. answered • 10/14/18

Tutor
4.9 (27)

Math/Physics Tutor

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.