Question: To earn credit for this assignment: You will solve the problem detailed below by creating a flowchart with corresponding pseudocode. The flowchart should be created

To earn credit for this assignment:
You will solve the problem detailed below by creating a flowchart with corresponding
pseudocode.
The flowchart should be created using a software tool such as draw.io - or Flowgorithm -
and then exported into an image file.
The pseudocode should be typed in a text file using a simple text editor like Notepad.
Hand drawings or pictures of hand drawings cannot be used as part of the submission.
In Canvas, use the Browse button to attach the flowchart file and the file with the
pseudocode (you will use the Browse button two times to attach the files one by one).
Finally, Submit the two (or one) attached files.
For your assignment to be graded, please include on the document the following
statement: " On my honor, I have neither received nor given any unauthorized assistance
on this assignment."
Overview:
This assignment is designed to gain proficiency in the creation of flowcharts and pseudocode
that may be used to create JavaScript programs later. The assignment focuses on Decision Statements
(IFs)
A travel agency offers a variety of different packages for visiting several regions in Spain. Each
package includes accommodations for a certain number of nights at a hotel within the region being visited.
To increase the amount of customers using this agency to travel, the agency has started to offer premium
packages that come with extra benefits.
Length of trip:
o Hotel accommodations cost $200 per day
o A trip length of 7(or more) days will receive a 10% discount on hotel costs
Transportation and tour guide services:
o Rent transportation vehicle $150 per day
o Private tour guide $200 per day
At the end of the purchase, two levels of premium packages will be offered, Silver or Gold.
Customers can choose either one (or none) of the two.
o Silver premium packages cost $100 and provide a 10% discount on transportation and tour guide services
o Gold premium packages cost $200 and provide a 20% discount on all purchases (including the package cost)
Inputs:
NumDays: Int
TransportationVehicle: Yes or No
TourGuide: Yes or No
PremiumPackage: Yes or No
PremiumType: Silver or Gold
Outputs:
Total price (pre-tax).
Discounts
Sales Tax amount to be added to the cost (7% rounded up to the nearest cent, after
discount).
Final Cost of the trip (including the tax).
To earn credit for this assignment: You will

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!