Find the budget areas and the resulting balance

Assignment Help Computer Engineering
Reference no: EM1326872

You are to develop a budgeting report for a local company using a C++ program. There are two input files. The first input file lists the individual areas a budget has been defined for. Two of these are the two checking accounts where the budget is the amount of money in the accounts. The 'ledger.dat' file contains the list of budget areas.

A second file contains the list of invoices and written checks against a given budget.
You are to read in the second file 'journal.dat' and update the value in each of the budgeted areas.
Print out a report showing the budgets and their current values. Some will be under and other will be over budget.

Use an array of structures to hold the data. Use pointers to move through the array (no subscripts syntax). Read in the 'ledger.dat' and initialize the array of structs. Read in the 'journal.dat' and update the values in the array of structs.

Format of 'ledger.dat' file.
budget# budget name initialValue

Format of 'journal.dat' (More data on a line of input than you need.)
Budget# Number? date ExpenseAreaText ExpenseValue
ExpenseValue is a positive for cost and negative for deduction

Print out a nice table (using pointers) of the budget areas and the resulting balance.

Reference no: EM1326872

Questions Cloud

Why is the documentation plan important : What are three essential system components that may be used to devise an implementation strategy in your workplace.
Financial leadership bridge issues of financial risk : How can financial leadership bridge the issues of financial risk and clinical risk within healthcare organizations?
Discuss the pros and cons of an organization : consider the pros and cons of an organization in that the primary departmentalization is vertical (i.e. by specialty, such as databases, human computer interfaces, or graphics programming) as opposed to one in which the primary departmentalization..
Components of legally astute social media : Please list four components of a legally astute social media marketing manager who utilizes social media outlets for consumer transactions.
Find the budget areas and the resulting balance : You are to make a budgeting report for a local company using a C++ program. There are two input files. The first input file lists the individual areas a budget has been defined for. Two of these are two checking accounts where the budget is the am..
Creating leadership handbook for managers in organization : To help new managers in an organization, you have been asked to create a handbook. Create a leadership handbook by doing the following.
Economic policies which could have on the sales : Express the effects of government economic policies which could have on the sales of the Escalade
Explaining the law of hire-purchase : An antique collector, entered a contract for purchase of an antique watch, which was described in good faith, by Farid, the seller, as more than 100 years of age.
Discuss the effectiveness of these security features : Secure Web sites often include 'enhanced security questions' or 'security images' in an attempt to assure that only authorized users could access the sites. Research and discuss effectiveness of these security features.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Converting the sum of elements of array into octal format

Provided an array of ints named x and an int variable named total that has already been declared, write down some code which places the sum of all the elements of the array x into total.

  Explain how a packet is encapsulated

Explain how a packet is encapsulated

  What is joptionpane class or the scanner class

What is JOptionPane class or the Scanner class

  What are the kinds of information systems

What are the kinds of information systems

  Get the cylinder class from the base circle class

Get the cylinder class from the base circle class

  Program simulating the rolling of one dice

Write down a program which simulates rolling one dice utilizing the following steps: Prompt user for the number of sides on the dice.

  Securing the personal data

Because of the information systems are capable of storing and compiling the large amount of the data, several people worry that, and their private data will end up in the wrong hands.

  It techniques used for security at airport

Browse the Internet for obtaining the Information about the airport security regarding bomb and weapon detection devices.

  What is compensation of using rule sets

What is compensation of using rule sets

  Write down four logic functions that are true

Implement the four functions using a ROM.Assume that X consists of 3 bits, x2 x1 x0

  Bookstore information management system

State the possible objects in bookstore operation involving their attributes and methods.Recognize the possible use cases and actors.

  Selecting the operating system

What operating system must the library consider for this facility? And also explain why?

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