Examlex

Solved

Given the Following Code Fragment and the Input Value of 4.0

question 43

Multiple Choice

Given the following code fragment and the input value of 4.0, what output is generated?
Float tax;
Float total;
Cout << "enter the cost of the item\n";
Cin >> total;
If total >= 3.0)
{
Tax = 0.10;
Cout << total + total * tax) << endl;
}
Else
{
Cout << total << endl;
}


Definitions:

Assertiveness

A characteristic of being self-assured and confident without being aggressive.

Fluctuate

To change or vary irregularly in number, amount, or degree; often used to describe variables that do not remain constant.

Adult Personality

The range of enduring personal characteristics and traits that define an adult individual's enduring patterns of thinking, feeling, and behaving.

Change

The process of becoming different, which can occur in physical, social, psychological, or environmental realms.

Related Questions