Thickmadam2321 Thickmadam2321
  • 25-01-2020
  • Computers and Technology
contestada

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.

Respuesta :

codiepienagoya codiepienagoya
  • 26-01-2020

Answer:

The statement to this question is "cout << fraction;".

Explanation:

In the given question it is declared, that a floating-point variable "fraction" is defined, which holds some value. To print this variable value in C++ program we use the print function, which is "cout". This function also used to print messages and values, in this question the print function uses the float variable "fraction", which prints variable value.

Answer Link

Otras preguntas

an organism whose niche involves taking energy from sunlight, and using it to make substances for energy is most limey______ ??  a consumer b decomposer c  a an
how do you do substitution
an open rectangular box with square ends is fitted with an overlapping lid that covers the top and front face determine the maximum volume of the box if 1square
how do you do substitution
How does scarcity make countries interdependent?
What animal would probibly live closer to Antartica, the cape Buffalo of southern Africa or the wallaby of southern Australia? How do you know?
what is a example in the real world of cell wall?
how did the location of a farm in the southern colonies affect the kind of crops grown there
what is a example in the real world of cell wall?
what is 15% of $5.80