Question: ( 3 points ) After executing the following C + + statements: double testn, x = 4 9 . 0 ; test n ? =

(3 points) After executing the following C++ statements:
double testn, x=49.0;
testn?=2.0**x+2.0;
what is the value of testn? Show your calculations in the Ans: space below.
Ans:
Decimal
CIS 120
TEST #3
Dr. Omolayole
6.(3 points) Write C++ statements to prompt the user to enter two integer numbers. Determine which out of the two numbers has the greater value, without using C++ function. Print the number that has the greater value. Include the declaration of identifiers used in the statements.
The testn=3
( 3 points ) After executing the following C + +

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!