Compute sums for each of the two inventories

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

Im having trouble writing a program that does the following. the program should sum up inventory counts and report the total. the inventory is represented by a three digit inventory and a count of the items. in the data is a problem, their are two different inventories that have been mixed up in the list (on purpose). the inventory number and count still match up.

I need to seperate the two inventories (inventory ONE and TWO) and get a count for each one. im writing this for a "r & d" department and the idea is that they discovered the two inventories can be distinguished by digits in the inventory number. if the digits in the inventory number sum up to be liss than or equal to 13, then those items belong to inventory ONE. the others belong to TWO.

The object is to compute sums for each of the two inventories and generate a total inventory count for each one. i need to print out the total number of items found in each inventory, total counts and the average for each inventory. i have the data needed in a data file and it must be entered in two numbers at a time. i also have to use redirection to save on typing input..... the data file is (inventorymix)

Attachment:- InventoryMix Pgm.zip

Reference no: EM13937565

Questions Cloud

How involved should the government be in protecting : How involved should the government be in protecting us from media effects? Where do you draw the line between free speech and indecency? Is censorship ever warranted
Depreciation will equal capital expenditures in each year : Following is a four-year forecast for Torino Marine. Year 2015 2016 2017 2018 Free CFs in million -76 92 112 150 a. Estimate the fair market value of Torino Marine at the end of 2014. Assume that after 2018, earnings before interest and tax will rema..
Provide a brief overview of corporate history : Organisation overview: Identify the selected organisation and provide a brief overview of its corporate history
Percentage of company capital structure consists of debt : Hook Industries' capital structure consists solely of debt and common equity. It can issue debt at rd = 8%, and its common stock currently pays a $3.50 dividend per share (D0 = $3.50). The stock's price is currently $29.50, its dividend is expected t..
Compute sums for each of the two inventories : The object is to compute sums for each of the two inventories and generate a total inventory count for each one. i need to print out the total number of items found in each inventory, total counts and the average for each inventory.
How many shares of common stock are outstanding : How many shares of common stock are outstanding? How many shares of preferred  stock are outstanding? What was the average selling price of a share of common stock?
What is meant it by the term csr : Explain what is meant it by the term CSR. Explain what is meant by an organization's stakeholder analysis. Give examples to back up your explanation.
Two projects are equally risky-risky firms existing assets : Midwest Electric Company (MEC) uses only debt and common equity. It can borrow unlimited amounts at an interest rate of rd = 9% as long as it finances at its target capital structure, which calls for 35% debt and 65% common equity. These two projects..
What are the nash equilibrium prices : Write down the expressions for how much a consumer at location d would value the products sold by firms A and B, if they set prices Pa and Pb? Based on your expressions in (a), how much will be demanded from each firm if prices Pa and Pb are set?

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