Question #265183

What will the value of the solution variable be after the code segment below has been run.


int solution = 80; 

int number56 = 16, number15 = 7; 

 

solution -= number56 * number15 ; 


Expert's answer

When the segment of the code is run, the compiler will debug nothing for the solution. The output is a blank line, this is because the segment lacks a validation code to print out the solution.


LATEST TUTORIALS
APPROVED BY CLIENTS