Write a cpp program that calculates the inventory on-hand

Assignment Help C/C++ Programming
Reference no: EM131674150

Assignment: Inventory System

Write a C++ program that calculates the inventory on-hand for Widget Co, an internationally renowned Widget maker located in Santa Monica. Each month, Widget Co. produces 123 new widgets from its production line during a good month, but only 52 widgets from its production line during a bad month. In addition, each month, its sales team takes orders for some number of widgets. If they are on-hand, Widget Co. reduces its inventory of widgets. If not on-hand, it compiles a back-order for the requested widgets. In order to receive full credit, you must use functions for this calculation and pass parameters and work with return values. The program dialogue should look like this:

Welcome to Widget Co.!

Month: 0 Number of widgets on-hand: 0 Number back-ordered: 0
Was it a good or bad month (g/b)? g
How many did the sales force sell? 15
Continue(y/n)? y

Month: 1 Number of widgets on-hand: 108 Number back-ordered: 0
Was it a good or bad month (g/b)? b
How many did the sales force sell? 150
Continue(y/n)? y

Month: 2 Number of widgets on-hand: 10 Number back-ordered: 0
Was it a good or bad month (g/b)? b
How many did the sales force sell? 100
Continue(y/n)? y

Month: 3 Number of widgets on-hand: 0 Number back-ordered: 38
Was it a good or bad month (g/b)? g
How many did the sales force sell? 200
Continue(y/n)? n

At the end of month 3, you wound up with 0 widgets on-hand and 115 widgets back-ordered

• Again, you are expected to create all files.
• The main high level method must be named runlnvSys(...).

Overall

• Your submission should follow this organization:

part_a

- main.cpp
- my_pi_approximator.h
- my_pi_approximator.cpp

part_b

- main.cpp
- my_inventory_system.h
- my_inventory_system.cpp

Reference no: EM131674150

Questions Cloud

Is oral health included as part of the health care system : Is everyone covered or are there exceptions/limitations, what might these exceptions be? Is oral health included as part of the health care system?
Implement the remaining simple arithmetic operators : Implement the remaining simple arithmetic operators (_sub__, __mul __ and truediv ___). Implement the remaining relational operators.
Define various types of social power used by professors : Social power in the classroom. Elias (2007) asked students about the appropriateness of various types of social power used by professors in the classroom.
Reflect on the significance of common human experience : In earlier eras, it was important to read because that was how we communicated and obtained knowledge.
Write a cpp program that calculates the inventory on-hand : Write a C++ program that calculates the inventory on-hand for Widget Co, an internationally renowned Widget maker located in Santa Monica.
Identify the within-subjects anova can have high power : Power and the within-subjects design. In an article applying models that use repeated measures, Thomas and Zumbo (2012) identified that the within-subjects.
Why the national incident management system is important : Explain and provide examples of why the National Incident Management System (NIMS) is important (in your opinion) as it relates to disaster preparedness.
Why might a writer feel compelled to write about literature : Why might a writer feel compelled to write about literature? How does it benefit us personally and professionally?
Analyze womens role in terrorism : Analyze women's role in terrorism. Why do you think they are suppressed from leadership?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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