Write a program - customer records

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

Assignment

Write a program that uses a file named COS230BANK.dat. The contents of the file are recordType (char), customerNumber (int), flrstName (string), lastName (string) - firstTransaction (int) and IastTransaction (int). Store this information is a list of customer records.

When the program opens. read in the list of customer records. When the program ends, write the list back to the file COS230BANK.dat. The user will be given a menu with the following options. 1. Add a customer record. 2. Edit a customer record. 3. Remove a customer record 4. List the customers.

recordType will always be 'C'. customerNumber will start at 1000, firstTransaction and lastTransaction will always be 0. The customer list must be sorted before displaying and before saving. Pick the best sort algorithm for this program. Be prepared to explain why you picked that particular algorithm_ Records must he sorted by lastName then flrstName. Use an endl to separate your records when writing your file.

Use the following files to build your project

CustomerRecord.h & CustomerRecord.cpp for customer record class.

SortedListh & SortedList.cpp to declare and define your list class.

Bank.h and Bank.cpp for bank functions (menu. add, edit, remove, display and other functions main.cpp for the main program.

Reference no: EM132809802

Questions Cloud

Analyze the techniques for using confrontation : -Identify how you can use integration devices to unite representatives from conflicting departments.
Describe the financial shenanigans used by krispy kreme : Describe the financial shenanigans used by Krispy Kreme. In this regard, is earnings management always a sign of failed leadership?
Reflect on a facilitated training session : Reflect on a facilitated training session you experienced that affected you either positively or negatively.
Develop a series of actions : You are asked to develop a series of actions to improve employee engagement. What might you consider and why?
Write a program - customer records : Write a program that uses a file named COS230BANK.dat. The contents of the file are recordType (char), customerNumber
Current economic and political environment : How realistic are the unions demands in the current economic and political environment? Please add the reference
Senior management in a community hospital : Assume you are a member of senior management in a community hospital. A patient has already spent thirty days in the hospital without
Identify example of someone you think of as good leader : Identify an example of someone you think of as a good leader (currently or in the past). What traits did they have? How did these traits differ from those
Calculate and interpret the financial ratios : Would you recommend investment in this company? Similar companies pay 12% return. Calculate any other ratio you think appropriate. make an report.

Reviews

len2809802

2/26/2021 10:57:50 PM

I have a c++ project due in couple of days. Details are attached and for sorting you could use shell sorting or quick sorting.

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