Examlex

Solved

What Will Be the Values of Ans, X, and Y

question 13

Multiple Choice

What will be the values of ans, x, and y after the following statements are executed?
Int ans = 35, x = 50, y =50;
If ( x >= y)
{
Ans = x + 10;
X -=y;
}
Else
{
Ans = y + 10;
Y += x;
}


Definitions:

Transfer Pricing

The pricing of goods, services, and intangibles between affiliated entities that may cross international borders, often used to allocate income among different tax jurisdictions.

Transfer Price

The cost at which products and services are exchanged between departments within the same organization.

Tax Rate

The percentage at which an individual or corporation's income is taxed by the government.

Profitable Subassembly

A component or assembly within a product that generates profit by being produced and sold as part of the final product.

Related Questions