Answer to Question #697 in Java | JSP | JSF for Danielle

Question #697
Write the complete Java statement.

Request that the user enter the radius of a circle from the keyboard and store the value entered in the double variable, radius.
1
Expert's answer
2010-09-28T17:02:50-0400
System.out.print("Please enter radius of a circle: ");
Scanner kb = new Scanner (System.in);
double radius = kb.nextDouble();

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS