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

What is the probability of rolling a 6 on a die? 1/5 1/6 5/6 1/4 What is the probability of not rolling a 6 on a die?
Solve the system of equations by substitution. 2x + y = 3z x + y = 6z What is the value for y from the first equation, that could be substituted into the seco
the blood vessel that has the lowest concentration of carbon dioxide​
The output force is greater than the input force for a what
Write the correct form of acabar that correctly completes each sentence. Habla por tel_fono. ---- de hablar por tel_fono.
How many centimeters are there in 740.2 millimeters
Whose statue is at the northern end of times square
George is drafting his dissertation paper for his doctoral program. The graph below shows the line of best fit for the data recorded on the number of pages of t
Which expression can be used to determine the reference angle for an angle, x, measuring 150°?
What caused world war 1