Create an if statement that checks if the variable salesAmt is greater than or equal to the QUOTA_AMT constant. Use the logical OR operator to also check if salesAmt is greater than or equal to the HIGH_SALES constant. If either expression is true, assign the value of the LARGE_QUOTA constant to the variable bonusAmt.
What will be an ideal response?
if(salesAmt >= QUOTA_AMT || salesAmt >= HIGH_SALES)
bonusAmt = LARGE_QUOTA;
Computer Science & Information Technology
You might also like to view...
While HTML is the language used to display webpages, ________ is the standard language for describing and delivering data on the web
Fill in the blank(s) with correct word
Computer Science & Information Technology
Which server role performs these functions: It updates references to objects in other domains in the forest, and tracks group membership changes that cross domain?
a. RID master b. PDC emulator c. Infrastructure master d. None of the above.
Computer Science & Information Technology
A cell containing a formula that relies on other cells to obtain its value.
What will be an ideal response?
Computer Science & Information Technology
Clock speed is measured in gigabytes. ____________________
Answer the following statement true (T) or false (F)
Computer Science & Information Technology