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

  Iscuss why or why not string and array of ints serializable

Discuss why or why not a string and an array of ints are serializable

  Shell variable expansion before pathname expansion

Perform the execution of such tasks without the benefit of shell scripts.

  Use apa referencing style

It is required that you produce a paper of between 1800 and 2300 words (including the abstract but excluding the reference list). Papers of greater than 2300 words will NOT be marked.

  Implications of providing functionality

The system will be used primarily for remote client access. You need to prepare a report for the client that explains the implications of providing this functionality in terms of firewall configuration. Your report must address the protocols and p..

  Expected rate of return on investment

Modigliani and Miller's Proposition 1 and 2 are contradictory. Shareholders cannot be indifferent to the use of debt when it increases the expected rate of return on their investment. Comment on this statement.

  Computing exact speed of a t1 line

Below what speed are there different leased line standards in different parts of the world? What is the exact speed of a T1 line?

  Compute the cost per equivalent unit for materials

Micro Labs' September 30th general ledger showed a balance of $634,500 in work-in process inventory. $206,500 of the balance was direct materials.

  Identify the java-based technologies utilized

1. Identify the Java-based technologies utilized in this project and analyze each of them. Then, provide discussion on the purpose of each of the Java-based technologies utilized. 2. Explain why you believe project managers selected these Java-ba..

  Give a brief explanation a color movie

Position of the steering wheel of a car in motion relative to car's reference frame

  Write a program that asks user to input grade of student

Write a program that asks the user to input the grade of the student. If the grade is equal or greater than 60, the program prints the word "pass", otherwise it prints the word "fail".

  Demilitarized zone (dmz) control standards

Demilitarized Zone (DMZ) Control Standards" Please respond to the following: 3.Analyze the IT infrastructure assets that are commonly located in the DMZ. Determine how the types and size of the organization impact the structure of the DMZ.

  Cloud computing compared to traditional computing

Cloud computing compared to traditional computing

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