Solved

If (Value1 > Value2) LargestOne = Value1;

Question 41

Multiple Choice

if (value1 > value2) largestOne = value1;
Else
If (value1 < value2)
LargestOne = value2;
Else
LargestOne = -(value1) ;
Using the nested if program statements, assuming value1 is 100 and value2 is 100, what is stored in largestOne above?


A) value1
B) value2
C) -(value1)
D) not enough information is given

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents