Examlex

Solved

What Would Be the Value of Bonus After the Following

question 27

Multiple Choice

What would be the value of bonus after the following statements are executed?
Int bonus, sales = 1250;
If (sales > 1000)
Bonus = 100;
If (sales > 750)
Bonus = 50;
If (sales > 500)
Bonus = 25;
Else
Bonus = 0;


Definitions:

Gene Hackman

An acclaimed American actor known for his versatility and powerful performances in a wide range of film genres.

Also Sprach Zarathustra

A tone poem by Richard Strauss, inspired by Friedrich Nietzsche's philosophical novel of the same name.

Human Evolution

The lengthy process of change and development by which human beings emerged as a distinct species.

Overlapping Sounds

In audio or film, the technique of having sounds from different sources or scenes heard simultaneously.

Related Questions