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

Simplify (3 - √7)(5 + √7)
The expression c-e, where c stands for the money collected and e stands for the expenses, is used to find the profit from a basketball concession. If $500 was c
(xa-b)/x=y Make x the subject of the formula.
Round 8.54 to the nearest tenth
NEED TO FIND intercepts. PARALLEL y = ¾ x -1 (4, 0)
what is the multiplicative identity of the complex number –3 + 5i
The perimeter of a rectangle is 56 inches. The ratio of the length to the width is 6:1. Find the length and width.
Eight friends purchase various supplies from a camping trip and agree to share the total cost equally. They spend $85.43 on food, $32.75 for water, and $239.66
a roll of ribbon was 9 meters long. Kevin cut 8 pieces of ribbon each of length 0.8 meter, to tie some presents. He then cut the remaining ribbon into some piec
To pay for a sofa, Maddie made a payment of 64 dollars each month for one year. How much did the sofa cost?