Examlex

Solved

What Value Is Assigned to DecTaxes by the Following Program

question 35

Multiple Choice

What value is assigned to decTaxes by the following program segment, assuming that the user enters 50000 into the textbox txtSalary.Text?
Dim decSalary, decTaxes As Decimal
DecSalary = CDec (txtSalary.Text)
If (decSalary > 50000) Then
DecTaxes = .40 * decSalary
ElseIf (decSalary > 40000) Then
DecTaxes = .30 * decSalary
ElseIf (decSalary > 30000) Then
DecTaxes = .20 * decSalary
Else
DecTaxes = .10 * decSalary
End If

Understand Freud's metaphors and their influence on his theory.
Grasp Carl Rogers's views on conditions of worth and their role in self-perception.
Understand the motives behind self-enrichment and concept maintenance.
Understand the basic structure and function of neurons and how they transmit information.

Definitions:

Gaseous System

A state of matter composed of particles that have neither a defined volume nor shape, often able to expand to fill any container.

Temperature

The average kinetic energy of particles within a substance, which shows the temperature level, defining its heat or coldness.

Mass Spectroscopy

An analytical technique that measures the mass-to-charge ratio of ions to identify and quantify molecules in a sample.

Magnetic Field

A vector field that describes the magnetic influence on moving electric charges, electric currents, and magnetic materials.

Related Questions