The British Museum, in the Bloomsbury area of London, England, is a public institution dedicated to human history, art and culture. Its permanent collection of some eight million works is among the largest and most comprehensive in existence, having been widely collected during the era of the British Empire. It documents the story of human culture from its beginnings to the present. It was the first public national museum in the world. The museum offers different types of membership can be applied by the visitors. As a new programmer at the museum, you are required to develop new membership application through their website as shown in the Table 1.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Topic Video
Question
Write a C program
The British Museum, in the Bloomsbury area of London, England, is a public institution dedicated to
human history, art and culture. Its permanent collection of some eight million works is among the largest
and most comprehensive in existence, having been widely collected during the era of the British Empire.
It documents the story of human culture from its beginnings to the present. It was the first public national
museum in the world. The museum offers different types of membership can be applied by the visitors.
As a new programmer at the museum, you are required to develop new membership application through
their website as shown in the Table 1.
Table 1: Rates and Prices of British Museum Membership
Туре
Description
Individual Membership (IM)
Fare (Pound)
1
64.00
(Additional 10.00 by credit card)
94.00
(Additional 10.00 by credit card)
IM + Extra 1 Guest
3
Under 26 memberships
44.00
(Additional 10.00 by credit card)
Young Friends & Renew existing Young
Friends Membership
(for Aged 8 – 15 years old)
4
25.00
(Additional 10.00 by credit card)
5
Give as a Gift
74.00 (only by credit card)
*5% discount is given if the total of membership application if more than £150.00
As a programmer, you should include all the requirements stated in Table 1. The program must consist of
all the characteristics as below:
1) Calculates rates of new membership by considering all element in Table 1 by applying both
selection and repetition.
2) Calculate any extra payment or discounts if paid by credit card, Type 3 (under 26
memberships) and Type 4 (Young Friends and Renew existing membership).
3) Calculate payments if the membership is more than one (1) application.
4) Calculate discounts and total payment need to be paid by the visitors when apply
membership.
Transcribed Image Text:The British Museum, in the Bloomsbury area of London, England, is a public institution dedicated to human history, art and culture. Its permanent collection of some eight million works is among the largest and most comprehensive in existence, having been widely collected during the era of the British Empire. It documents the story of human culture from its beginnings to the present. It was the first public national museum in the world. The museum offers different types of membership can be applied by the visitors. As a new programmer at the museum, you are required to develop new membership application through their website as shown in the Table 1. Table 1: Rates and Prices of British Museum Membership Туре Description Individual Membership (IM) Fare (Pound) 1 64.00 (Additional 10.00 by credit card) 94.00 (Additional 10.00 by credit card) IM + Extra 1 Guest 3 Under 26 memberships 44.00 (Additional 10.00 by credit card) Young Friends & Renew existing Young Friends Membership (for Aged 8 – 15 years old) 4 25.00 (Additional 10.00 by credit card) 5 Give as a Gift 74.00 (only by credit card) *5% discount is given if the total of membership application if more than £150.00 As a programmer, you should include all the requirements stated in Table 1. The program must consist of all the characteristics as below: 1) Calculates rates of new membership by considering all element in Table 1 by applying both selection and repetition. 2) Calculate any extra payment or discounts if paid by credit card, Type 3 (under 26 memberships) and Type 4 (Young Friends and Renew existing membership). 3) Calculate payments if the membership is more than one (1) application. 4) Calculate discounts and total payment need to be paid by the visitors when apply membership.
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education