Program to implement banking system

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

Need Some Assisstance With A Practice Problem:

Be sure you have access to an ANSI C (not C++) compiler. Code compiles for C++ may or may not be compatible with C.

Assignment

1. You are to write the basis for what will become, in increments, a small "banking system." This first increment just maintains up to 25 accounts and 0 - 1 million transactions.

2. Store the 25 accounts, including account numbers and balances as an array or arrays, as appropriate.

3. Input will consist of a transaction type (CR for credit and DB for debit), an account number and an amount.

4. You are to (1) initialize the accounts with a zero balance; (2) read in the transactions and adjust the balance of the matching account appropriately; (3) at the end of the program, print out the balances for all accounts.

5. Things to remember:

a) What if the account number on a transaction doesn't match an existing account number?

b) What if an account balance drops below zero? Overdrafts are not allowed.

c) What if the transaction type doesn't match DB or CR?

Attachment:- sample.zip

Reference no: EM13936875

Questions Cloud

What is the labor force participation rate : What is the labor force participation rate for 2014? How many employed workers were there at the end of 2014? How might you explain the difference between the GDP per worker you calculated and mean personal income per worker provided
Have two or more collections of data : This assignment is to summarize everything that we have addressed in the XML Applications course, and provide a mechanism to demonstrate your knowledge in a pragmatic way.
Demographic characteristics of customers : A common approach to identifying markets uses "demographic" characteristics of customers - such as age, sex, race, education, occupation, geographic location, income, marital status and family size.
Personal ideas and experiences as applicable : A real-to-life situation that has likely happened in some form in organizations somewhere today. There will be opportunity for you to respond as the HRM professional you are/will be, and also to add your own personal ideas and experiences as applicab..
Program to implement banking system : What if the account number on a transaction doesn't match an existing account number?
Draw a map of the trp, pyr, cys genes relative to each other : Draw a map of the trp, pyr, cys genes relative to each other.Express map distances between adjacent genes as the frequency of crossing over between them.
Use adobe dreamweaver to create the website : Upload a zipped project to Moodle before the start of the class. *Use adobe dreamweaver to create the website. For your assignment, you will create a Business-to-Consumer (B2C) web site for any retail business of your choice. This is a group assig..
Comprehension play in under armours ability : What role does objective and subjective comprehension play in Under Armour's ability to market its products by sponsoring up-and-coming athletes?
Which are the recombinant classes in these three crosses : Which are the recombinant classes in these three crosses? Give the genotypes of the dihybrids in these three crosses, showing linkage arrangements.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Clears the screen

Assignment: Write a script that meets the following requirements:•Clears the screen•Creates the menu displayed below with any additional formatting you may desire•Prompts the user to choose a menu option•Assigns the value chosen by the user to the va..

  Draw a two-dimensional house seen from the front

Draw a two-dimensional house seen from the front, the way a child would: with a door, two windows, and a roof with a chimney. Feel free to add details; mabe have "smoke" come out of the chimney.

  Tabulate unadjusted function points

a) List type of Input, output counts, File names, query and interfaces. Tabulate them into simple, medium and complex. b) Tabulate Unadjusted function points giving a total of them You can assume some data points or features as appropriate to drive y..

  Calculate the volume by formula

Write program in C++ : - write a class VolumeOfBox that calculate the volume by this formula : length * breadth * height this class has three data member ,and the member function which calculates the volume and print the result by using pointer to..

  Write a function named xytopolar

Write a function named "XYtoPolar" that has 2 double value parameters and 2 double reference parameters that converts x,y coordinates to polar coordinates. The prototype is: void XYtoPolar(double x, double y, double* angle, double* radius);

  Prevent illegal moves without crashing

Your program must gracefully handle the case when a player tries to add a non-number to a square, or add a number that violates the Sudoku rules. It should prevent illegal moves without crashing.

  Build a basic cipher base class

Build a randomly generated simple substitution cipher and use it to encode messages. Again the encoded messages will be in all upper case letters only.

  Review of object oriented software development methodologies

Review of Object Oriented Software Development Methodologies

  Create huffman codes

Write a C++ program to create Huffman codes. Program input is a file called freq.txt (make up your own file for testing) that contains data on the characters in some cleartext file in the form of each character's non-zero frequency of occurrence i..

  Function that will accept the three sides of a triangle

Create a function that will accept the three sides of a triangle (a, b, c) as scalar values, calculate the angles that correspond to these sides (alpha, beta, gamma), and return these angles to the function call in the script file.

  Write in c++ another overloaded operator

Write in C++ another overloaded operator to go in the program that has Treasury. Overload the forward slash /  so that in the main program, you can declare sale to be of type Treasury, and commission to be of type Treasury, and commispctage to be of ..

  What would be the coding for this process

If I have a panorama, and want to stitch the 3 photos together perfectly (just lining them up along the edges to create one long photo, no matching needed), what would be the coding for this process?

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