# Write a Java application

COLEEGE OF TECHNOLOGICAL INNOVATION

Fall 2017

SWE-320, Assignment 1

Submission date:  September 24

______________________________________________________________________________

Write a Java application that uses method structure do the followings:

Method 1: that  converts a Decimal to Percent:

Calculating the conversion from a decimal to a percentage is done with multiplication.

Converting from a decimal to a percentage is done by multiplying the decimal value by 100.

For example, 0.10 is 0.10 x 100 = 10%

0.675 is 0.675 x 100 = 67.5%

Note that the short way to convert from a decimal to a percentage by adding the percentage sign and moving the decimal point 2 places to the right.

Method 2:  that determines if an input word or phrase is a palindrome. A palindrome is a string that reads the same forward and backwards.

For example: the following are palindrome strings

noon

ABA

For example:  the following are NOT palindrome strings

AABB

ABCD

ALPHA

Method 3   that calculates the volume of a cylinder

Method 4   that converts  temperatures from Fahrenheit to Celsius

Method 5   that generates 5 random  numbers between two limits

(lower number = 1 to Maximum number=100)

So, the application will

Read all needed inputs from a keyboard and  display output results

Report Submission Format

As usual, you need to submit both written and electronic report for this project using the same report format for CIT-225

Section 0:    Cover page, include project title, student names and submission date

Section 1:    problem description as given to you in class

Section 2: Problem Analysis:

In this section, you should define your input variables, and their type. You should also define your output variables and their type. Use a table to summarize your answers.

Section 3: Solution Design:

In this section you should provide a Pseudo-code or a flowchart to explain your algorithm and the logic that will drive your Java code.

Section 4: Implementation:

In this section, you should list your complete Java Code. Make sure that your code is optimized for speed and efficiency.

Section 5: Evaluation

In this section, you should include a screenshot of your program’s output, based on the sample input provided in the previous page. Your output should be as close as possible to the solution provided in the previous page.

Section 6: Self-reflection

In this section, you should reflect on what you have learned in this project, and outline the challenges that you have faced while working on this project, and how you overcame them.

Order Now