CIS355A iLab 1 ShowEscapeSequences Circle and PracticeArithmeticOperators Programs

Availability: In stock

Regular Price: $15.00

Special Price: $12.00

OR

CIS355A Week 1 STEP 2 Circle Java Program

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

Quick Overview

CIS355A iLab 1 ShowEscapeSequences Circle and PracticeArithmeticOperators Programs


In this lab you will learn how to use the Java Software Development Kit (SDK) with the Eclipse programming tool. In addition, you will create three simple Java programs.


Deliverables
Program files for each of the following three programs.
1. ShowEscapeSequences.java
2. Circle.java
3. PracticeArithmeticOperators.java
At the beginning of ALL your programs, put a comment box that includes the program name, your name, and a brief description of the program.


iLAB STEPS
STEP 1: ShowEscapeSequences (10 points)
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 (15 points)
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 (15 points)
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

Regular Price: $15.00

Special Price: $12.00

Details

CIS355A iLab 1 ShowEscapeSequences Circle and PracticeArithmeticOperators Programs

In this lab you will learn how to use the Java Software Development Kit (SDK) with the Eclipse programming tool. In addition, you will create three simple Java programs.

Deliverables
Program files for each of the following three programs.
1. ShowEscapeSequences.java
2. Circle.java
3. PracticeArithmeticOperators.java
At the beginning of ALL your programs, put a comment box that includes the program name, your name, and a brief description of the program.

iLAB STEPS
STEP 1: ShowEscapeSequences (10 points)
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 (15 points)
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 (15 points)
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

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.