CSCI1103 Columbus State Community College Java Programming Project
Question Description
Lab 5 Java Sequences
AssignmentThe document is attached with all information
Create a Java program that prompts a user to input the radius of a circle and computes the circle’s area and perimeter.
Start your program as follows:
package edu.cscc;
import java.util.Scanner;
// TODO add comments with your name and the purpose of the program
public class Main {
private static Scanner input = new Scanner(System.in);
public static void main(String[] args) {
double radius, area, perimeter;
// TODO your code goes here
}
}
Example Output
Circle program
Enter the radius of your circle: 3
The area of a circle with a radius of 3.0 is 28.274333882308138
The perimeter of a circle with a radius of 3.0 is 18.84955592153876
Process finished with exit code 0
“Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results.”