Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please Help with this problem. I need a Flowchart, Pseudo-code,Java code and Output screen shot. It can not be in Python it has to be

Please Help with this problem. I need a Flowchart, Pseudo-code,Java code and Output screen shot. It can not be in Python it has to be in Java or Netbean.

Problem Statement

The Fast Freight Shipping Company charges the following rates based upon the weight of a package:

2 pounds or less: $1.10

Over two pounds but not more than 6 pounds: $2.20

Over six pounds, but not more than 10 pounds: $3.70

Over 10 pounds: $3.80

Design a program that

  1. Asks the user to enter the weight of a package to be shipped.
  2. Calculates and displays the cost to ship the package.
  3. Displays an error message if the input weight is 0 or less.
  • Your program should contain the following modules:
  • Module main.Asks the user the weight of a package.Passes the weight entered to moduleshippingCost.
  • Module shippingCost.Accepts the weight input by the user.Uses a decision statement to determine and display the cost of shipping the package.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transport Operations

Authors: Allen Stuart

2nd Edition

978-0470115398, 0470115394

Students also viewed these Programming questions

Question

1.24. What are four reasons to be cautious about nudges? (LO22-4)

Answered: 1 week ago

Question

need pseudo-code only for in c++ language style pseudo-code \f

Answered: 1 week ago

Question

1.who the father of Ayurveda? 2. Who the father of taxonomy?

Answered: 1 week ago

Question

Commen Name with scientific name Tiger - Wolf- Lion- Cat- Dog-

Answered: 1 week ago