Write an application called circlejava that inputs from the


Program files for each of the following three programs.

ShowEscapeSequences.java

Circle.java

PracticeArithmeticOperators.java

Step 1: Show escape sequences

Write a Java program named ShowEscapeSequences.java that displays the following.

I really like

CIS355A

"Business Application Programming with Lab using JAVA"

Step 2: Circle

Write an application called Circle.java that inputs from the user the radius of a circle as an integer and prints the circle's diameter, circumference, and area. Use the example program and GUI technique message dialog box shown in the Week 1 Lecture.

Use the following formulas.
diameter = 2 * radius
circumference = 2 * Math.PI * radius
area = Math.PI * radius * radius

Use the predefined constant Math.PI for your calculation. This constant is more precise than the value 3.14159. Class Math is defined in the java.lang package so you do not need to import it.

Step 3: PracticeArithmeticOperators

Write an application called PracticeArithmeticOperators.java that asks the user to enter two numbers. The program is to convert these numbers from String to type int and then print in a tabular format the sum, the difference, the product, and the quotient of the two numbers entered. Use the example program shown in the Week 1 Lecture. For example, if the user enters 25 and 5, the following should be displayed.

Operation Result
25 + 5       30
25 - 5        20
25 * 5       125
25 / 5        5

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write an application called circlejava that inputs from the
Reference No:- TGS01037687

Expected delivery within 24 Hours