Write a statement that reads a floating point (real) value from standard input into temperature. Assume that temperature. has already been declared as an double variable.

1
Write a statement  that reads a floating point  (real) value  from standard input into temperature. Assume  that temperature. has already  been declared as an double variable.

LANGUAGE: C++

CHALLENGE:

Write a statement  that reads a floating point  (real) value  from standard input into temperature. Assume  that temperature. has already  been declared as an double variable.

SOLUTION:


cin >> temperature;

One comment

Add comment