Scanner class and calculations


Develop a Computer class that describes your computer. The class must have at least five attributes comprised of a minimum of three different data types. At least one method should be defined in your class. Prepare a program that utilizes the Computer class and prompts the user for information about their existing computer followed by information about a future, more desirable computer. Use Scanner class for data input. You must use at least two variables of data type integer and calculate or quantify the improvement over the existing computer using these variables. Display a table that displays all the information to the screen, such as the attribute values and the results of the calculations. Your program should create at least two instances of your Computer class.

Be sure to use variables, the Scanner class and calculations. The program should output the values of the instance variables and the results of any calculations.

Input data for the current computer as well as for the desired computer. Your assignment submittal should include your properly commented java code and the class file.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Scanner class and calculations
Reference No:- TGS0534846

Expected delivery within 24 Hours