Given a floating-point variable fraction, write a statement that writes the value of fraction to standard output.

1
Given a floating-point variable fraction, write a statement  that writes the value of fraction to standard output.

LANGUAGE: C++

CHALLENGE:

Given a floating-point variable fraction, write a statement  that writes the value of fraction to standard output.

Do not write anything else to standard output  — just the value  of fraction .

SOLUTION:



cout << fraction;

One comment

Add comment