Write a checkbook balancing pr-

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter6: Creating, Sorting, And Querying A Table
Section: Chapter Questions
Problem 10EYK
icon
Related questions
Question

can you help me with no.7 in c++? thanks

 

eGTTA bns 210ot61990 bobsohovo Programming Projects
733
in addition to the checks, the program also reads all the deposits, as well
Os the old and the new account balance. You may want another array to
hold the deposits. The new account balance should be the old balance
1a6vplus all deposits, minus all checks that have been cashed.blaidbice
bject
(210 The program outputs the total of the checks cashed, the total of the
veoldeposits, what the new balance should be, and how much this figure
n d differs from what the bank says the new balance is. It also outputs two
lists of checks: the checks cashed since the last time you balanced your
checkbook and the checks still not cashed. Display both lists of checks in
sorted order from lowest to highest check number. of YEW glmi A
VideeNote
Solution to Programming
Project 11.12
Yow slqmiz
pAG 0 199wied sulsv 6 ei insibifiso T Jasibiiso
adi If this is a class assignment, ask your instructor if input/output should be
rb done with the keyboard and screen or if it should be done with files. If it
gaivis to be done with files, ask your instructor for instructions on file names.
alqmse
8. Define a class called List that can hold a list of values of double.
type
Model your class definition after the class TemperatureList given in Dis-
b play 11.10, but your class List will make no reference to temperatures
when it outputs values. The values may represent any sort of data items as
Ieni Tong as they are of type double. Include the additional features specified in
Self-Test Exercises 21 and 22. Change the member function names so that
they do not refer to temperature.
Add a member function called getLast that takes no arguments and
returns the last item on the list. The member function getLast does
FASTRI
change the list, and it should not be called if the list is empty. Add
deleteLast that deletes the last element
function. Note
Transcribed Image Text:eGTTA bns 210ot61990 bobsohovo Programming Projects 733 in addition to the checks, the program also reads all the deposits, as well Os the old and the new account balance. You may want another array to hold the deposits. The new account balance should be the old balance 1a6vplus all deposits, minus all checks that have been cashed.blaidbice bject (210 The program outputs the total of the checks cashed, the total of the veoldeposits, what the new balance should be, and how much this figure n d differs from what the bank says the new balance is. It also outputs two lists of checks: the checks cashed since the last time you balanced your checkbook and the checks still not cashed. Display both lists of checks in sorted order from lowest to highest check number. of YEW glmi A VideeNote Solution to Programming Project 11.12 Yow slqmiz pAG 0 199wied sulsv 6 ei insibifiso T Jasibiiso adi If this is a class assignment, ask your instructor if input/output should be rb done with the keyboard and screen or if it should be done with files. If it gaivis to be done with files, ask your instructor for instructions on file names. alqmse 8. Define a class called List that can hold a list of values of double. type Model your class definition after the class TemperatureList given in Dis- b play 11.10, but your class List will make no reference to temperatures when it outputs values. The values may represent any sort of data items as Ieni Tong as they are of type double. Include the additional features specified in Self-Test Exercises 21 and 22. Change the member function names so that they do not refer to temperature. Add a member function called getLast that takes no arguments and returns the last item on the list. The member function getLast does FASTRI change the list, and it should not be called if the list is empty. Add deleteLast that deletes the last element function. Note
lns polynomial – CUII3l
when i
polynomial * polynomial (do n l
dsi on l
i | constant * polynomial dsi sri J6STI (16) OV 10 bou 9 el
long as
Self-Te
di
I polynomial * constant
lodma
they d
Add a
011ai badio
babrolivo O
returr
a
not c
anoth
You should decide whether to implement these functions as membo
-bs friends, or stand-alone functions. insmolgmi (ay
on th
that
ual thenol
pilgiblum.bas no
adju
7. Write a checkbook balancing program. The program will read in the fol-
26 lowing for all checks that were not cashed as of the last time you balanced
gniryour checkbook: the number of each check, the amount of the check, and
gnil whether or not it has been cashed. Use an array with a class base type. The
class should be a class for a check. There should be three member variables
to record the check number, the check amount, and whether or not the
check was cashed. The class for a check will have a member variable of type
YSTI Money (as defined in Display 19) to record the check amount. So, you
-oq have a class used within a class. The class for a check should have accessor
-iv and mutator functions as well as constructors and functions for bOuT mpe
J19 and output of a check.i (19 anizeim ei mlsll olgmexa uo
pes
the f
defi
ID
9. Def
Use
as a
The
laib
fro
wll
an
the
ret
1 folqmexa
Jud all
las * n gl
constant * srh LUOV 10 s1s elodm
anoin
Transcribed Image Text:lns polynomial – CUII3l when i polynomial * polynomial (do n l dsi on l i | constant * polynomial dsi sri J6STI (16) OV 10 bou 9 el long as Self-Te di I polynomial * constant lodma they d Add a 011ai badio babrolivo O returr a not c anoth You should decide whether to implement these functions as membo -bs friends, or stand-alone functions. insmolgmi (ay on th that ual thenol pilgiblum.bas no adju 7. Write a checkbook balancing program. The program will read in the fol- 26 lowing for all checks that were not cashed as of the last time you balanced gniryour checkbook: the number of each check, the amount of the check, and gnil whether or not it has been cashed. Use an array with a class base type. The class should be a class for a check. There should be three member variables to record the check number, the check amount, and whether or not the check was cashed. The class for a check will have a member variable of type YSTI Money (as defined in Display 19) to record the check amount. So, you -oq have a class used within a class. The class for a check should have accessor -iv and mutator functions as well as constructors and functions for bOuT mpe J19 and output of a check.i (19 anizeim ei mlsll olgmexa uo pes the f defi ID 9. Def Use as a The laib fro wll an the ret 1 folqmexa Jud all las * n gl constant * srh LUOV 10 s1s elodm anoin
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
LUP Decomposition
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L