Party planning committee in office

Assignment Help Basic Computer Science
Reference no: EM131171588

C++ Programming Code

[A] You are in charge of the party planning committee in your office. You decide that to make things easier, you'll have one party each month for all the employees that have a birthday in that month. Write a program that takes the number of birtdays in each month as inputs and store them into an array. You also want to know how much the party each month will cost. You know that it costs $12.00 per birthday person to throw that month's party, as well as a base cost of $7.00 (which is only paid if there is at least one birthday). Write a function monthlyCost() that takes the month and your array as an input and returns how much that month's party will cost. Display the expected cost of each month's party.

Number of birthdays:

Jan 1

Feb 3

Mar 2

Apr 5

May 2

Jun 0

Jul 1

Aug 1

Sep 0

Oct 3

Nov 2

Dec 2

Monthy Cost:

Jan $19.00

Feb $43.00

Mar $31.00

Apr $67.00

May $31.00

Jun $0.00

Jul $19.00

Aug $19.00

Sep $0.00

Oct $43.00

Nov $31.00

Dec $31.00

Reference no: EM131171588

Questions Cloud

Discuss views on the proper roles of the state : Discuss their views on the proper roles of the state and how they might compare to the US state (government) today.
Important part of the software-development process : Developing a data model is an important part of the software-development process. A data model is a representation of the data you are using in your application. For example, all applications require users; therefore, you will develop a user objec..
Influential computer scientists : As a follow up on this thread the link below introduces you to the 30 most influential computer scientists alive today. How many on the list do you know and who stands out to you? I'm afraid the list doesn't fairly represent both genders but for ..
Mitigate malware effects on a machine : Describe the best practice to employ to mitigate malware effects on a machine? Atleast 300 words
Party planning committee in office : You are in charge of the party planning committee in your office. You decide that to make things easier, you'll have one party each month for all the employees that have a birthday in that month. Write a program that takes the number of birtdays i..
Design the most appropriate public key infrastructure : Design the most appropriate Public Key Infrastructure (PKI) to protect Personal Identifiable Information (PII).
Know for a mechanical engineer : What coding languages are most useful to know for a mechanical engineer who wants to be proficient at writing code?
Compare plato and aristotles criticism of government : Write a 1-2 page paper in which you compare and contrast Plato and Aristotle's criticism of government and how this led to their ultimate philosophy on the role of the state.
Calculate also the pressure of the air in the receiver : Calculate also the pressure of the air in the receiver some time after the valve has been dosed such that the air temperature has attained Its original

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What is the pmf of t

what is the PMF of T, the number of times a packet is transmitted?

  Reference all your outside sources properly

You need to ship two GE Voluson 730 Ultrasound Systems from Wesley Hills, NY, USA to Bristol, UK for use in a new hospital (Southmead Hospital Bristol, NHS Trust) being built there. Prepare a request for quotation (RFQ) for the shipment of the mac..

  What is the basic goal of monetary policy

1) What is the basic goal of monetary policy?2) What are the tow reason people wish to hold money? How are these two reasons related to the functions of money?

  The two main forms of documentation

The two main forms of documentation of program design are flowcharts and pseudcode. Based on this week's text chapter and some relevant web resources, discuss the differences between flowcharts and pseudocode, as well as their merits and faults.

  Consider a relation that is fragmented horizontally

Assume each fragment has two replicas: one stored at the Los Angeles site and one stored locally at the plant site. Describe a good processing strategy (in outline, not SQL) for the following queries entered at the Baltimore site and say why you thin..

  Will action alter or destroy any historical and scientific

Will action alter or destroy any historical, scientific, or archaeological site? New engineering building project doesn't have any reported historical, scientific.

  Project managers and ethics-leadership and technology

Describe the different organizational structures as it relates to project management (i.e., functional, project-based, matrix). Discuss at least two (two) different roles that project managers can play in organizational leadership.

  Create a gui panel using radio buttons to display

Create a GUI panel using radio buttons to display and select the flags and text information.

  Write about oracle 10g find vulnerabilities

Write about Oracle 10g find vulnerabilities, you should also include recommendations to address those vulnerabilities. Write as simple as possible.

  Write recurrence relation corresponding to pseudo-code

Write the recurrence relation corresponding to the pseudo- code, don't forget the cost of the base case. iii. Write the solution of your recurrence, showing how you have solved the recurrence.

  Organize the presentation so that the information is clear

Organize the presentation so that the information is clear and visually appealing.

  How would reply to cheryls question

Do no paraphrase the two questions or sections of the case study (I already know them), rather approach assignment as an essay.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd