Create a checkbook program using c

Assignment Help Programming Languages
Reference no: EM131266222

Assignment part A - Create a Checkbook program using C:

-Create a Check structure. Include:

  • Check number (should be an integer).
  • Date (use type char[ ]).
  • To
  • Amount
  • Description

-Add functions to:

  • 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.
  • Display the values for a single check. Format the amount for two decimal places.
  • Display the values for the entire checkbook, one check at a time.

-In the main function:

  • Create a checkbook. It should be an array of at least size ten.
  • 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:

  • Check number (should be an integer).
  • Date (use type char[ ]).
  • To
  • Amount
  • Description
  • Pointer to the next Check node

-Add functions to:

  • 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.
  • Delete a check from the checkbook. Use the check number to identify the check to be deleted.
  • Display the values for a single check. Format the amount for two decimal places.
  • Display the values for the entire checkbook, one check at a time.

-In the main function:

  • Create a checkbook. It should be a linked list.
  • 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: EM131266222

Questions Cloud

Analyzing the dividend policies of various companies : What is your estimate for your company's dividend per share next year? Please justify why you made that decision - Analyzing the Dividend Policies of Various Companies
Create an application that allows user to enter an integer : Create an application that allows the user to enter an integer between 1 and 10 into a text box on a form. Use a "Select Case" statement to identify which Roman numeral is the correct translation of the integer.
Explain contracted notation for stresses and strains : Complete the table below with the contracted notation symbols for the component of stress and strain shown in the table. Use engineering notation for strains.
Where does e-waste end up : Where does e-waste end up? Define the e-waste problem: what is happening and why is this a problem? What can manufacturers do to improve the situation with the various issues (health, hazardous materials, recycling, refuse, etc.)?
Create a checkbook program using c : Create a Checkbook program using C: Create a Check structure. Include: Check number (should be an integer). Date (use type char[ ])
Draw a representative volume element or an epoxy matrix : Draw a representative volume element (RVE) for an epoxy matrix filled with cylindrical steel rods arranged in a rectangular array. Compute the volume fraction Vf as a function of the fiber diameter df and the spacing between the centers of the fib..
Determine the methods for estimating project costs : Explain the factors that determine how a company selects a project. Differentiate between top-down and bottom-up estimates including when each would be used. Determine the methods for estimating project costs.
New minimum wage policy : How are young and or inexperienced workers hurt and helped by the new minimum wage policy?
Describe how two countries are similar in terms of hofstede : Given a scenario where two organizations, one located in each country, are to do business with each other, provide recommendations that would be beneficial in helping management address communications in terms of the different cultural perspective..

Reviews

Write a Review

Programming Languages Questions & Answers

  Create memo to grace to outline purposes of organization

Create a memo to Grace in which you outline purposes of organization and costs and benefits of becoming a member.

  Write a little man program that adds a column of input value

Write a Little Man program that adds a column of input values and produces the sum as output. An input value of zero will indicate the last value in the input stream of input values.

  Write and test code to create window with green background

Use Processing to write and test code that meets the requirements below. Create a 600x400 window with a green background (using 64 as the "amount" of green to draw).

  Design program that allow player to play game of tic-tac-toe

Design a program that allows two players to play a game of tic-tac-toe. Use a two dimensional String array with three row and three columns as the game board.

  Write code using while loop for data validation

Write code or pseudo code using while loops to do Data Validation for following user prompts:input positive # input negative # input number between 1 and 100, inclusive.

  Does the kind of values assigned to a a variable

Does the kind of values assigned to a a variable (numeric or character) influence the way SAS reads data?

  All variables that aren''t numeric variables

All variables that aren't numeric variables

  Construct a markov algorithm

Construct a Markov Algorithm that will reverse the order of an input string that consists of zero or more upper case letters - It will always have the following effect: whatever is on the RHS of that rule (except the period, if there is one) will b..

  Write program to calculate how much person earns

Write a program that calculates how much a person earns in a month if the salary is one penny the first day, two pennies the second day.

  Determine branch folding for unconditional branches

Determine the improvement from branch folding for unconditional branches. Assume a 90% hit rate, a base CPI without unconditional branch stalls of 1.

  Implement and test the human resource information system

Assignment C# Application & Test Report - As part of your development efforts you will prepare and apply a small collection of test cases to verify that the completed application meets some of the key requirements agreed with the client - Your smal..

  Module program to compare state and county sales tax

Create a module program which will ask the user to enter amount of a purchase. Program must then compare state and county sales tax.

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