Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this assignment, you're tasked with developing a checkbook balancing program based on Walter Savitch's Problem Solving with C + + C H 1
For this assignment, you're tasked with developing a checkbook balancing program based on Walter Savitch's "Problem Solving with C
# The program should assist users in managing their finances by keeping track of uncashed checks, deposits, and account
balances. Here's the problem statement broken down into key components:
The program should retrieve the following information for all checks that remained uncashed since the last balance check:
the check number integer
the check amount double and
its cashed status boolean represented as or stored in an array
Utilize an array or vector with a class as its type, where the class represents a check. Each check class should consist of three member
variables to record
the check number,
check amount, and
its cashed status.
Additionally, the check class should contain a member variable of type Money provided to record the check amount. Hence, a class will
be nested within another class.
The check class must include accessor and mutator functions, constructors, as well as functions for both input and output of a check.
Besides the checks, the program should also collect data on deposits entered via console input with cin the old and new account
balances obtained from the user via cin You might consider using another array to store the deposit data. The new account balance
should reflect the old balance plus all deposits, subtracting all cashed checks.
The program should output the total value of cashed checks, the total deposit amount, the projected new balance, and the variance from
the bank's reported new balance. Additionally, it should present two lists of checks: checks cashed since the last balance check and
checks still uncashed.
Example Outputs:
Sample Execution :
User Input:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started