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

  Information technology to build strategic it capabilities

How could a business leverage its investment in information technology to build strategic IT capabilities that serve as a barrier to new entrants into its markets

  Database construction using mysql and php

Database Construction Using MySQL and PHP

  Analyze techniques for requirements determination

The specific course learning outcomes associated with this assignment are. Analyze techniques for requirements determination, collection, and organization

  Identify at least three business processes that new century

Identify at least three business processes that New Century performs, and explain who is responsible for the specific tasks.

  An e-home will be characterized by the seamless interconnect

According to the Design Council Web site, "an e-home will be characterized by the seamless interconnection of virtually anything powered by electricity and a host of new services/applications delivered by the Internet." Name three such services that ..

  Written personal web plan using the process

Reflect on, and write down the purpose of your site and your target audience. What is your goal for the site? That is, how do you want to present yourself to prospective employers, graduate school or online?

  How to make circumstances easier to design and implement

Do you think that a database would make a design more complex to implement or make your circumstances easier to design and implement? Databases by nature reduce data redundancy which improves data integrity enabling you to reduce coding since you..

  How to use dss tool to support business

This is an interesting DSS tool where you can view yourself walking or driving down a street in San Francisco or Seattle. If you operated a business in this city how could you use this tool to support your business.

  Relationship between economic growth and productivity

What is the relationship between economic growth and productivity? What is the major source of growth in labor productivity?

  Advantages of implementing cmmi

What is CMMI? Explain the advantages of implementing CMMI.

  Difference between a function prototype and a definition

Explain the difference between a function prototype and a function definition

  Is the set of cuts c (f) closed under intersection

Recall that in different equivalent executions, a different "path" may be traced through the state lattice. Therefore, for different re-executions of this (deterministic) distributed program, is the state First_Cut(φ) well-defined? i.e., is it uni..

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