SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 313 Weeks Ago, 6 Days Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 23 Oct 2017 My Price 10.00

In this case we will be working with floats.

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

Total Points: 100.0

PreviousNext

 

ded some help. using netbean 8.2

Attachments:

Answers

(5)
Status NEW Posted 23 Oct 2017 06:10 AM My Price 10.00

-----------  ----------- 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

Not Rated(0)