Answered You can hire a professional tutor to get the answer.

QUESTION

NEED HELP WITH JAVA CODE - BEGINNER LEVEL HOMEWORK: the program tshoould reads data from standard input and then perform actions on that data. In...

NEED HELP WITH JAVA CODE - BEGINNER LEVEL

HOMEWORK:

the program tshoould reads data from standard input and then perform actions on that data. In this case we will be working with floats.

It should read numbers from standard input and then perform addition, subtraction, division, multiplication, setting and logic these number.

Requirements:

Your program must perform the following tasks and meet the following requirements.

Common Requirements:

  • Source must contain a comment containing your netid
  • Source must contain single line comments. "//"
  • Source must contain multi line comments. /* */
  • Source must contain documentation comments that document the main method (/** */)

Assignment Requirements:

  • scanner object named "input"

Classes: 

Create classes that represents the following geometric shapes. For each class create the requested methods, and setters/getters for all parameters in the class. 

  • Triangle
  • perimeter
  • area
  • Square
  • perimeter
  • area
  • Rectangle
  • perimeter
  • area
  • Circle
  • circumference
  • area

Driver Program

there has to be a driver method in each class. The driver program should complete the following. Prompt the user to enter the dimensions of 5 instances of the class and subsequently execute the primary methods of the class. The repetitive tasks should be completed using the most appropriate form of a loop. 

Example: 

 [ this problem will be used so I can prepare myself for an exam]

public
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question