Create a checkbook program

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

Assignment (part a)
Create a Checkbook program using C :
• Create a Check structure. Include:
  o Check number (should be an integer).
  o Date (use type char[ ]).
  o To
  o Amount
  o Description
• Add functions to:
  o Add a Check. Collect all information for a single check and return the check. Should not take any parameters. Gather all data in the function from the user. Call the function to display the values for the check before returning the Check.
  o Display the values for a single check. Format the amount for two decimal places.
  o Display the values for the entire checkbook, one check at a time.
• In the main function:
  o Create a checkbook. It should be an array of at least size ten.
  o Repeat until the checkbook is full or the user quits. Give the user these options:
     -  Add a check.
     -  Display the checkbook.
     -  Quit.
• Compile and run your code.

Assignment (part b)
Alter the Checkbook program from part a using C
• Create a Check node structure. Include:
  o Check number (should be an integer).
  o Date (use type char[ ]).
  o To
  o Amount
  o Description
  o Pointer to the next Check node
• Add functions to:
  o Add a Check to the checkbook. Collect all information for a single check and add it to the checkbook. Call the function to display the values for the check before adding the check.
  o Delete a check from the checkbook. Use the check number to identify the check to be deleted.
  o Display the values for a single check. Format the amount for two decimal places.
  o Display the values for the entire checkbook, one check at a time.
• In the main function:
  o Create a checkbook. It should be a linked list.
  o Repeat until the user quits. Give the user these options:
     -  Add a check.
     -  Delete a check.
     -  Display the checkbook.
     -  Quit.
• Compile and run your code.

Reference no: EM131305580

Questions Cloud

Create a sales pitch that can convince panworld : Create a sales pitch that can convince Panworld to either totally replace "Nexaworks" or bring in a synergy where "Ezypay" can co-exist with "Nexaworks".
What does the statistical evidence show : In 2009, Zimbabwe ended its hyperinflation by adopting the U.S. dollar as legal tender. What potential problems could this strategy have for the Zimbabwean government?
Create a list of at least three potential channel partners : Create a list of at least three potential suppliers (preferably using real-life suppliers, but you may use fictitious names if you can't locate an existing company that supplies that material).Create a list of at least three potential channel part..
Why might a hyperinflation lead to political unrest : When the German government succeeded in putting an end to the hyperinflation in 1924, would this have been better news for borrowers or for lenders? Briefly explain.
Create a checkbook program : Create a Checkbook program and Check to the checkbook. Collect all information for a single check and add it to the checkbook. Call the function to display the values for the check before adding the check.
Compare the two company analyses to each other : Choose one Diagnostic Model (i.e. 6-box, 7S, congruence) to apply to Ford and General Motors. Choose the model which you feel best identifies and measures the relevant aspects of the organization's performance and therefore the diagnostic choices ..
What is the primary role of the bolts in a bolted joint : You have roughed out the design of a joint and believe that four, 5/8-12 = 3 SAE J429 Grade 5 bolts will provide sufficient clamping force if tightened to 50% of yield. How much preload will this create?
Name two simple ways to pick a preload : What's the easiest way to pick a preload for joints which are not safety related or economically important?
Name at least three ways to reduce the possibility of scc : Which is better, a relatively small anode or a large one and why? Is coating a fastener always helpful in fighting corrosion resistance, even if there are minor breaks in the coating? Name some substitutes for electroplated coatings

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write an application that reads the user''s weight

Write an application (BMICalc) that reads the user's weight in poinds and height in inches, then calculates the Body Mass Index.

  Write a modular program in three files

Acts as a cafeteria kiosk, continually prompting the user for a number (1-10) indicating the quality of food at the cafeteria. Input of -1 will stop the polling function, and initiate the reporting functionality which displays a histogram to the u..

  Write a gui application that prints out hello

Write a GUI application that prints out "Hello!" in either: English, French, or Spanish. When the user selects another language, the greeting shown in the greeting area should change. Your GUI should look like the interface shown below

  Boolean expressions with while loops

These questions explore using boolean expressions with while loops. If you get confused by the output as you work through these questions, you should review those pages in your textbook, with special attention to the operators &&, ||, and !

  Program to prove that the definition of o-notation holds.

To prove this we need to prove that the definition of o-notation holds.

  Preparing a high level language program

Describe the purpose of each step in preparing a high level language program for execution (editing, compiling, linking, and loading).  Include in your description the types of files created with each of the first three steps.?

  What are the values of sum1 and sum2

If the operands in the expressions are evaluated right to left?

  Create a base class to store the above information

Create a structure to store the date (year, month and date as its members). Create a base class to store the above information. The member function should include functions to enter information and display a list of all the patients in the database. ..

  Write a function that computes length of a character string

Write a function that computes the length of a character string (i.e. write your own implementation of the strlen function.

  Define program testing & documentation

Devise a test plan carefully, making sure that the purpose of the particular test is clearly stated, the data for each test is specified (that is, any inputs expected from the user or the programmer), and a description of the expected result from ..

  Prepare program to check the syntax of the english language

Determine the form of the output dependent on the coefficients being input. Print and evaluate with peers in class."

  Discussing the competitive advantages

Identify an organization with its management information systems. Prepare a report in discussing the competitive advantages and limitations of the systems. Competitive advantages include the benefits for business, organization, employees, and orga..

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