Katanga Stars is a team of women who perform cultural dance at various functions across the country. The team has a fixed membership of 9 members. Within these 9 members, there is a management committee of 4 members. For each function where they are hired to perform, the amount collected is different and is distributed as follows; • 50% of the fees goes to the consolidated account where each member owns equal shares. • The remaining 50% is shared among the 9 members such that each of the 4 management committee members gets 6.25% and each of the other members not on management committee gets 5%. For example, suppose Katanga Stars is paid UGX 1,000,000/= for a performance at a certain wedding ceremony, then, UGX 500,000/= goes to the consolidated account. Each management committee member gets UGX 62,5000/= while each of the other members gets UGX 50,000/= By assuming that Katanga Stars performs in exactly 5 places in a year, write a C program that performs the following tasks; • Uses a loop to capture the amount paid to Katanga Stars for each performance and stores the values captured in an array. This array should later be passed to a function to determine and print the funds distribution. • Provides a menu for choices such that 1 is for “Print Funds Distribution”, 2 is “Print Annual Membership Share” and 3 is for “Continue” and 4 is for “Quit”. • For each money paid to Katanga Stars for performance, “Print Funds Distribution” prints the amount going to the consolidated fund, the amount each management committee member is getting and the amount each of the non-management committee gets. • “Print Annual Membership Share” prints the amount each member is getting at the end of the year from the consolidated account. • “Continue” is for repeating the program so that the new values of the array are captured. • “Quit” should use a C function to determine and print the highest and lowest amounts earned from the five performances by Katanga Stars and then terminate the program.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Katanga Stars is a team of women who perform cultural dance at various functions across
the country. The team has a fixed membership of 9 members. Within these 9 members,
there is a management committee of 4 members. For each function where they are hired to
perform, the amount collected is different and is distributed as follows;
• 50% of the fees goes to the consolidated account where each member owns equal
shares.
• The remaining 50% is shared among the 9 members such that each of the 4
management committee members gets 6.25% and each of the other members not
on management committee gets 5%.
For example, suppose Katanga Stars is paid UGX 1,000,000/= for a performance at a
certain wedding ceremony, then, UGX 500,000/= goes to the consolidated account. Each
management committee member gets UGX 62,5000/= while each of the other members
gets UGX 50,000/=
By assuming that Katanga Stars performs in exactly 5 places in a year, write a C program that
performs the following tasks;
• Uses a loop to capture the amount paid to Katanga Stars for each performance and
stores the values captured in an array. This array should later be passed to a
function to determine and print the funds distribution.
• Provides a menu for choices such that 1 is for “Print Funds Distribution”, 2 is “Print
Annual Membership Share” and 3 is for “Continue” and 4 is for “Quit”.
• For each money paid to Katanga Stars for performance, “Print Funds Distribution”
prints the amount going to the consolidated fund, the amount each management
committee member is getting and the amount each of the non-management
committee gets.
• “Print Annual Membership Share” prints the amount each member is getting at the
end of the year from the consolidated account.
• “Continue” is for repeating the program so that the new values of the array are
captured.
• “Quit” should use a C function to determine and print the highest and lowest
amounts earned from the five performances by Katanga Stars and then terminate
the program.

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY