What will be stored in number after execution of the following statement?

int denominator = 2, numerator = 5;
float number = (float) denominator / numerator;

a) 0
b) 0.0
c) 0.4
d) 2.5


c) 0.4

Computer Science & Information Technology

You might also like to view...

To share a presentation with a wider audience, save it as a(n) ________ file

A) enhanced Impress B) PDF C) Writer D) text

Computer Science & Information Technology

Designing a new network is also referred to as mapping a network drive

Indicate whether the statement is true or false

Computer Science & Information Technology

One way to open the Paragraph dialog box is to click the Line Spacing button on the ________ tab and then select Line Spacing Options

A) View B) File C) Home D) Format

Computer Science & Information Technology

If you have multiple graphics displaying on the screen and would like them to overlap, you can change their ____ order by using commands on the Bring Forward and Send Backward menus.

A. display B. control C. positioning D. stacking

Computer Science & Information Technology