Write a java application that will take an input using an


Coming up with an algorithm to answer a simple programming problem is much like arriving at the answer for a math word problem we all know and love from our early school years. There is a problem narrative: Suppose a certain item used to sell for seventy-five cents a pound, you see that it''s been marked up to eighty-one cents a pound. What is the percent increase?

Write a Java application that will:

1. Take an input using an input dialog box for the item price and assign it to a variable (must be a type that will take decimal values).

2. Take an input for the increased item price and assign it to a variable (must be a type that will take deci mal values).

3. Calculate the percentage of increase in price; so if you input an item price of 1.75 and a new item price of 2.00 then you should calculate the relative change (percentage increase) in price either in a messagebox or to the output window that would look something like this:

The relative change was 14.285714285714285%

4. Provide at least some documentation for your code.

Compile and run your program until it works and the output looks nice. Add the necessary documentation as described in Course Documents, and then attach your .java file to this assignment. Do not attach the .class file, attach only the .java source code.

4. Does it produce the correct result?

5. Is the source code neatly formatted?

Compile and run your program until it works and the output looks nice.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a java application that will take an input using an
Reference No:- TGS0809530

Expected delivery within 24 Hours