Given a floating point variable fraction, write a statement that displays the value of fraction on the screen. Do not display anything else on the screen–just the value of fraction.

Given a floating point variable fraction, write a statement that displays the value of fraction on the screen. Do not display anything else on the screen–just the value of fraction.

LANGUAGE: JAVA

CHALLENGE:

Given a floating point variable fraction, write a statement that displays the value of fraction on the screen. Do not display anything else on the screen–just the value of fraction.

SOLUTION:


System.out.println(fraction);

Add comment