Write an If...Then...Else statement that assigns the number 2000 to theintBonusvariable when thedecSalesvariable contains a number that is greater than or equal to $50,000; otherwise, assign the number 500.

What will be an ideal response?


If decSales >= 50000 Then
intBonus = 2000
Else
intBonus = 500
End If

Computer Science & Information Technology

You might also like to view...

Why is the selection of data types an important design consideration?

What will be an ideal response?

Computer Science & Information Technology

You can make text as large as you want typing in a number up to _____.

A. 1024 B. 1638 C. 512 D. 2048

Computer Science & Information Technology

The read() method of the class RandomAccessFile returns the type:

(a) byte (b) int (c) char (d) double

Computer Science & Information Technology

A ____ is a list of related items, including folders, programs, and commands.

A. popup B. toolbar C. menu D. shortcut

Computer Science & Information Technology