Question: AT&T LTE * 56%- 2:22 AM e blackboard.olemiss.edu Programming Activity: Description: Area of a circle Write a program that prompt the user to enter the
AT&T LTE * 56%- 2:22 AM e blackboard.olemiss.edu Programming Activity: Description: Area of a circle Write a program that prompt the user to enter the radius of a circle. Th a circle e program must calculate and display the area of Area of a circle - PIradius * radius, where PI 3.14159. Check your results with the sample outputs listed below, as well as your own. Sample outputs Enter the radius of a circle > 5 The area for the circle of radius 5.0 is 78.53975 Program Outline: import java.util.Scanner public class AreaOfCircle public static void main(String[] args) /l declare variables Il create a Scanner object to read input // get user input for radius I/ Calculate Area Display area of a circle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
