CIS 355 Lab 1: Environment Setup

profileJohnny EdTech
 (Not rated)
 (Not rated)
Chat

Type: Instant Download

Format: Zip file (Contains all documents needed for this assignment)

Version: Current 2013-14 (Click on tutorial image to view snapshot)

Frequently Asked Questions

What is included in the full course package? The entire course study guide includes the output file homework solution in notepad for CIS 355 Lab 1: Environment Setup (bachelors program)

Your tutorial will include these files:

  • CIS355_Lab1.Zip

What if I find a question is missing? Just shoot me an email. Ill have the answers to the study guide within 1 to 3 days. You will receive a free update to the study guide with the answers you need. 

Will this help me with CIS 355 problems? Yes, this guide is designed to help students get through the CIS 355 Lab 1 exercise with ease.

 

CIS 355 Lab 1 Environment Setup assignment description:

Program files for each of the following three programs.

  1. ShowEscapeSequences.java 
  2. Circle.java
  3. 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

    • 9 years ago
    CIS 355 Lab 1 Environment Setup Assignment
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      cis_355_lab_1.zip