Problem: This bowling center offers different charges for customer based different categories and special offer packages. You are required to write a C program to manage this 10 lanes of nine-pin bowling center. The following are the charges for each package: Categories/packages student adult Weekday weekend Public holiday School holiday weekday weekend Public holiday Normal hour (10am-6pm) RM7.00 a) the receipt for every game b) Summary of daily transactions by categories c) Summary of monthly avenue report. RM10.00 RM12.00 RM7.00 2 + free 1 game RM8.00 RM 10.00 RM14.00 Peak hours (7pm-10pm) RM10.00 RM12.00 RM14.00 RM16.00 RM18.00 RM20.00 Shoes rental: RM5.00 Midnight special (10pm-12pm) RM10.00 2+free 1 game RM12.00 2+free 1 game RM14.00 RM14.00 2+free 1 game RM14.00 2+free 1 game RM18.00 Condition : This program is to calculates charges for every games and the monthly income of a bowling center. Your system should be able to calculate and print out: Show program modularity in your solution using functions, and also demonstrate ability in passing argument to and returning value from called function in the program. You must apply the following mechanisms to store and organize the data : a) Array / Pointer b) Basic Data Structure c) File Operations

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question
Problem:
This bowling center offers different charges for customer based different categories and special offer packages. You are
required to write a C program to manage this 10 lanes of nine-pin bowling center. The following are the charges for each
package:
Categories/packages
student
adult
Weekday
weekend
Public holiday
School holiday
weekday
weekend
Public holiday
Normal hour
(10am-6pm)
a) the receipt for every game
b) Summary of daily transactions by categories
c) Summary of monthly avenue report.
RM7.00
RM 10.00
RM12.00
RM7.00
2 + free 1 game
RM8.00
RM 10.00
RM14.00
Peak hours
(7pm-10pm)
RM10.00
RM12.00
RM14.00
RM16.00
RM18.00
RM20.00
Shoes rental: RM5.00
Midnight special
(10pm-12pm)
RM10.00
2+free 1 game
RM12.00
2+free 1 game
RM14.00
RM14.00
2+free 1 game
RM14.00
2+free 1 game
RM18.00
Condition:
This program is to calculates charges for every games and the monthly income of a bowling center. Your system should be able
to calculate and print out:
Show program modularity in your solution using functions, and also demonstrate ability in passing argument to and returning
value from called function in the program. You must apply the following mechanisms to store and organize the data:
a) Array / Pointer
b) Basic Data Structure
c) File Operations
Transcribed Image Text:Problem: This bowling center offers different charges for customer based different categories and special offer packages. You are required to write a C program to manage this 10 lanes of nine-pin bowling center. The following are the charges for each package: Categories/packages student adult Weekday weekend Public holiday School holiday weekday weekend Public holiday Normal hour (10am-6pm) a) the receipt for every game b) Summary of daily transactions by categories c) Summary of monthly avenue report. RM7.00 RM 10.00 RM12.00 RM7.00 2 + free 1 game RM8.00 RM 10.00 RM14.00 Peak hours (7pm-10pm) RM10.00 RM12.00 RM14.00 RM16.00 RM18.00 RM20.00 Shoes rental: RM5.00 Midnight special (10pm-12pm) RM10.00 2+free 1 game RM12.00 2+free 1 game RM14.00 RM14.00 2+free 1 game RM14.00 2+free 1 game RM18.00 Condition: This program is to calculates charges for every games and the monthly income of a bowling center. Your system should be able to calculate and print out: Show program modularity in your solution using functions, and also demonstrate ability in passing argument to and returning value from called function in the program. You must apply the following mechanisms to store and organize the data: a) Array / Pointer b) Basic Data Structure c) File Operations
Expert Solution
steps

Step by step

Solved in 5 steps with 6 images

Blurred answer
Knowledge Booster
Reference Types in Function
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage