temperature = stdin.nextDouble();

Average Rating
0 out of 5 stars. 0 votes.

temperature = stdin.nextDouble();

Write a statement that reads a floating point value from standard input into temperature. Assume that temperature. has already been declared as an double variable . Assume also that stdin is a variable that references a Scanner object associated with standard input.