Question: This is a long single question: Write in Python code: The wonderful company, SpaceZ, is a fictional company that makes its money by providing orbital

This is a long single question: Write in Python code:

The wonderful company, SpaceZ, is a fictional company that makes its money by providing orbital services (aka, blasting rockets into space). They have an aggressive marketing department trying to get all possible launches filled. There are 6 customers that the marketing department tracks. SpaceZ offers a range of services including manned spaceflight at various cost levels as shown below:

Orbital Services:

Service Code: ORB1

Description: Launch one satellite to low earth orbit; weighing less than 9 metric tons.

Short Description: Satellite: LEO

Fee: 65,000,000

Sales Commission: 0.1%

1st Stage Recovery: Land

Service Code: ORB2

Description: Launch one satellite to geostationary orbit; low earth orbit weighing less than 5.5 tons.

Short Description: Satellite: GSO

Fee: 67,000,000

Sales Commission: 0.12%

1st Stage Recovery: Land

Service Code: ORB3

Description: Launch one satellite to sun synchronous orbit; weighing less than 5 tons.

Short Description: Satellite: SSO

Fee: 72,650,000

Sales Commission: 0.12%

1st Stage Recovery: Sea

Service Code: ISS5

Description: Launch 5 tons of cargo to a space station; in an inclined orbit.

Short Description: Satellite: 5T

Fee: 76,137,129

Sales Commission: 0.09%

1st Stage Recovery: Sea

Service Code: MOON2

Description: Two space tourists to fly sound the moon accompanied by an experienced astronaut.

Short Description: Tourist: Moon

Fee: 98,000,000

Sales Commission: 0.13%

1st Stage Recovery: Land

If the 1st stage is recovery by sea, then an additional $165,000 cost of recovery is taken into consideration before Sales Commissions are applied.

The company CODC is part owned by SpaceZ so no sales commissions are given to marketing for CODC launches.

Customers:

Code: ESAA

Name: Europe Systems Alternative Agency

Contact Name: Jean-Claude Junxer

Address: 23 Razor Road Belconnen ACT 2617

Launch 1: ORB1, 30/04/2019

Launch 2: ORB1, 31/10/2019

Code: NASHA

Name: National Air Space Hash Agency

Contact Name: Jimmy Briden

Address: 2 Mashup Drive Bruce ACT 2617

Launch 1: ORB3 28/04/2019

Launch 2: ISS5, 7/3/2020

Code: ASA

Name: Aussie Space Agency

Contact Name: Megan Clock

Address: Flat 31/a, Bax Units Stix st Marble bar 6760

Launch 1: None

Launch 2: None

Code: TICK

Name: Tick Incorporated

Contact Name: Mark Watson

Address: 87 Race drive Bathurst 2795

Launch 1: ORB1,2/3/2020

Launch 2: ORB2,19/3/2020

Code: BINC

Name: Byer Private Space Incorporated

Contact Name: Marillyn Hewson

Address: 212 Webly Drive Canowindra NSW 2804

Launch 1: MOON2, 12/12/2023

Launch 2: None

Code: CODC

Name: Corporate Space Trust

Contact Name: Zhang Chen

Address: 212 Scorch Drive Beltana SA 5730

Launch 1: ORB2, 21/3/2020

Launch 2: MOON2, 19/12/2023

Write a python code to build a system that helps with customer management by providing the following services:

A clear easy to use main menu which should include the following options

Audit Report: It lists the basic information on which the program works. Display the details of all the Orbital Services and details of all the Customers.

Customer Letter: It can automatically write a friendly letter to customers with customized name and address and launch details for a given year.

The letter has quite specific formatting requirements on the This years and Future services lines specifically:

Based on date entered services from past years should not be shown.

There could be 1 or 2 lines of this years services

There could be 1 or 2 lines of future services

If there are no services, this year it should say No service this year (note None is not ok)

If there are no future services, it should say No future services (note None is not ok)

Note: Also, that input errors should be detected (e.g., a company code of FRED or a year of 29919)

Commission Report: It produces a commission report showing the commission that a customer generates for the currently scheduled launches.

If the 1st stage is recovery by sea, then an additional $165,000 cost of recovery is taken into consideration before Sales Commissions are applied. This is a way of encouraging salespersons to sell the cheaper land recovery services hence it is subtracted before commission is calculated.

Sample Commission calculation for ESAA ORB 1. (Land recovery)

65,000,000 * 0.1 /100 = $65,000

Commission is : $65,000

Sample commission calculation for NASHA ORB3 (sea recovery)

Because its a sea recovery we deduct 165,000 before the calculation

(72,650,000-165,000) *0.12/100 = $86,982

Commission is : $86,982

Sample commission calculation for CODC ORB3 (sea recovery)

Commission is : $0

Launch Schedule: It produces a launch schedule for the Rocket Engineers that launch the rockets. This schedule is for a given year and shows the date and type of launch for all customers with a launch in that year.

This schedule is for a given year entered by the user and shows the date and type of launch for all customers with a launch in that year.

Example Launch schedule (for 2020)

-----------------------------------------------------

NASHA ISS5 7/3/2020

TICK ORB1 2/3/2020

TICK ORB2 19/3/2020

CODC ORB2 21/3/2020

Create the Customer Class to store customers data

Create the Services Class to store orbital services data

Create a Menu

Based on the menu option create a different function for each of the menu functions.

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 Databases Questions!