The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 313 Weeks Ago, 6 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
hello I m creating a java program and I really nee
Title:
Create a program that reads data from standard input and then perform actions on that data. In this case we will be working with floats.
Assignment Summary:
Read numbers from standard input and then perform addition, subtraction, division, multiplication, setting and logic upon these numbers.
Â
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:
·        Create a scanner object named "input"
·        Prompt the user for the height and width of a rectangle.
·        Calculate the perimeter of the rectangle and store it in a variable named rectanglePerimeter.
·        Print out the rectangle's perimeter using printf and the following template.Â
o   "Perimeter of the Rectangle is %f"
Â
·        Prompt the user for the width of a square.
·        Calculate the perimeter of the rectangle and store it in a variable named squarePerimeter.
·        Print out the square's perimeter using printf and the following template.Â
o   "Perimeter of the Square is %f"
Â
·        Prompt the user for the radius of circle.
·        Calculate the area of the circle and store it in a variable named circleArea.
·        Print out the circle's area using printf and the following template.Â
o   "Area of the Circle is (%f)^2 * 3.14%f"
Â
·        Prompt the user for the diameter of a circle.
·        Calculate the circumference of the circle and store it in a variable named circleCircumference.
·        Print out the circle's circumference using printf and the following template.Â
o   "Circumference of the Circle is (%f) * 3.14 = %f"
Â
·        Prompt the user for the height and width of a rectangle.
·        Calculate the area of the rectangle and store it in a variable named rectangleArea.
·        Create your own template to print the following using printf. Replacing H, W, and AREA with the correct values.
o   Area of the Rectangle is H * W = AREA
Â
·        Prompt the user for the width of a square.
·        Calculate the area of the square and store it in a variable named squareArea.
·        Print the following line using System.out.println. Replace H, W, and AREA with the correct values.
o   Area of the Square is H * W = AREA
Â
Rubric
HW2
|
HW2 |
||
|
Criteria |
Ratings |
Pts |
|
This criterion is linked to a Learning OutcomeCommon Requirements |
5 pts |
5.0Â pts |
|
This criterion is linked to a Learning OutcomeCreate Scanner |
5pts |
5.0Â pts |
|
This criterion is linked to a Learning OutcomerectanglePerimeter |
15 pts |
15.0Â pts |
|
This criterion is linked to a Learning OutcomesquarePerimeter |
15pts |
15.0Â pts |
|
This criterion is linked to a Learning OutcomecircleArea |
15pts |
15.0Â pts |
|
This criterion is linked to a Learning OutcomecircleCircumference |
15pts |
15.0Â pts |
|
This criterion is linked to a Learning OutcomerectangleArea |
15pts |
15.0Â pts |
|
This criterion is linked to a Learning OutcomesquareArea |
15pts |
15.0Â pts |
Â
ded some help. using netbean 8.2
Attachments:
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly