Ask your own question, for FREE!
Discrete Math 14 Online
OpenStudy (anonymous):

3. Do the following problems. a. Suppose after the execution of the following statement block the value in the variable Pressure is 49.0. What could have been the value in the variable Factor, before the execution of the statement block? {double Factor, Pressure // Mystery assignment to Factor if (Factor == 1) Pressure = 25.0; else if (Factor == 2) Pressure = 36.0; else if (Factor == 3) Pressure = 45.0; else if ((Factor == 4) || (Factor == 5) || (Factor == 6)) Pressure = 49.0; }

OpenStudy (unklerhaukus):

{double Factor, Pressure . . . else if ((Factor == 4) || (Factor == 5) || (Factor == 6)) Pressure = 49.0; }

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!