Final Project

For this assignment, you will take on the role of a member of an IT department. Your chief technology officer (CTO) has tasked your department with the replacement of IT equipment. Your manager does not want to buy a piece of equipment based on the brand name alone. Rather, your manager wants to know the return on investment for each piece in order to make a sound purchasing decision.

Your task is to write a Java program that will be used to calculate ROI on three different pieces of equipment and sort it from best to least ROI. The program must prompt the user to enter the brand name of the equipment, the gain, and the cost for each piece of equipment.

In this coding assignment, you will express searching and sorting algorithms to return the ROI best to least for each piece of equipment. You must apply algorithmic design techniques in developing your program so that you can ensure the user will receive a correctly sorted list. Utilize a LinkedList class to create the list. Include comments for each section of the program. You may select variable names as long as proper Java syntax is used. You will also submit your source code in a zip file.

Utilize a Java LinkedList to input the brand name of the equipment along with the equipments corresponding gain and cost. The input should be completed by the user either via keyboard or via file. As a last resort, the data can be hard-coded into the program.

The input for this calculation is in the table.

Utilize the ROI calculation (below) with the data from the LinkedList. You may select any of the sorting algorithms from Section 1.1 of Data Structures Essentials to sort the ROI from best to least return.

The calculation for Return on Investment Calculation (ROI) is as follows:

ROI = (Gain from Investment Cost of Investment) / Cost of Investment

Sort from the best to least ROI, and display to the screen the equipment name, gain, cost, and calculated ROI. The program must include the code to inform the user that the program has completed processing.

Your code must include the following as comments at the top of the code:

  • Name of program
  • Author/students name
  • Course name and number
  • Instructors name
  • Date submitted

Take a screen shot of the results page and save the image. When you are finished with your Java program, zip the file(s). Next, submit the zip folder that contains the running source code to the page. If you need more guidance, review the . Be sure that you are sharing the zip folder with your instructor only. Your instructor will run your source code to ensure that the functionality runs correctly.

In a Word document, describe the object-oriented features of your Java program in a minimum of 200 words. Paste the image of your results. Upload your zip file. Submit your Word document to Waypoint for grading.

Carefully review the for the criteria that will be used to evaluate your assignment

Make sure you put my name and professor name. William Wilson my name. Professor: Chiaka Okoroh. 307 CPT class

WRITE MY PAPER

Comments

Leave a Reply