Purchase Solution

C++ program (using bloodshed dev-pascal)

Not what you're looking for?

Ask Custom Question

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)

Purchase this Solution

Solution Summary

C++ programming for using bloodshed dev pascals.

Purchase this Solution


Free BrainMass Quizzes
Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Javscript Basics

Quiz on basics of javascript programming language.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.