Question
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
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
Customer Letter: It can automatically write a friendly letter to customers with customised 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)
Sample Output:
Example letter 1: To: Fron: Space2 Europe Syatens Alternative Agency 23 Razor Road Belconnen ACT 2617 SpaceZ yearly services update 219 Dear Jean-Claude Junxer, we wish to advise you that the orbital services you have requested are being readied for delivery as scheduled (see the schedule below). This years services :ORB1 satellite:LEO 3/94/2819 ;ORB1Satellite:LEO31/16/2019 Future services: No future services Should you have further requirements please contact our sales representative. Regards Djon Musk, Services managerStep 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