subject

/* Write an application that prompts the user for the radius of a circle and uses a method called circleArea to calculate the area of the circle */import java. util.*;class AreaCircle{double circleArea(double radius){ return(Math. PI*radius*radius);}public static void main(String args[]){ AreaCircle ob=new AreaCircle(); Scanner Sc=new Scanner(System. in); System. out. println("Enter the Radius of the Circle: "); double r=Sc. nextDouble(); double area=ob. circleArea(r); System. out. println("The area of the circle is: "+area);}}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. peter has launched a website that features baby products. however, clients often find they are unable to access the website because the server is down. which feature of cybersecurity should peter focus on for his website? a. data authenticity b. data privacy c. data availability d. data integrity e. data encryption
Answers: 3
question
Computers and Technology, 24.06.2019 11:30
What does the https: // mean when you type in a website
Answers: 1
question
Computers and Technology, 24.06.2019 23:50
What is your fav video game currently: a) roblox b) fortnite c) apex legends d) pubg
Answers: 2
question
Computers and Technology, 25.06.2019 01:30
Once a vulnerability has been identified by nessus, where would you check for more information regarding the identified vulnerability, exploits, and any risk mitigation solution?
Answers: 1
You know the right answer?
/* Write an application that prompts the user for the radius of a circle and uses a method called ci...
Questions
question
Mathematics, 14.11.2019 12:31
Questions on the website: 13722360