Computer Science, asked by sswaraj1407, 6 months ago

double length=sc.nextDouble();
what does this mean while writing a java program

Answers

Answered by Oreki
1

This statement scans the next token of the input as double and stores the value in a double variable named length in Java.

Answered by anindyaadhikari13
1

Question:-

double length=sc.nextDouble();

What does this statement mean?

Answer:-

Given statement is used to input next token of double data type and store the value in the variable named 'length' of data type 'double'.

Similar questions