Answered step by step
Verified Expert Solution
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
- Asks the user to enter the weight of a package to be shipped.
- Calculates and displays the cost to ship the package.
- 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started