Question: Write a menu - driven C + + program to let the user select different options related to their credit card account. Here are the

Write a menu-driven C++program to let the user select different options related to their credit card account. Here are the options:
a.View account information (name,card number, address, expiration date, active status)on console window.
b.View monthly spending (utilities,mortgage, insurance, groceries, travel, etc.)on console window. Let the user select the month.
c.Generate monthly spending reports that display the average spending, the most-spent-category, the least-spent-category and the bar chart for the entire month
d.View yearly spending on console window.
e.Generate yearly spending reports that display the average spending, the most-spent month, the least-spent month and the bar chart for the entire year
f.Search for all spending for a particular date.
NOTE:
1.Card number must be valid. Please use Luhn's Algorithm to generate a valid one.
2. Your program will read an input text. Example:
Tayama Johnson
Card number: 4003600000000014
Card type: Visa
Exp: 01/24
Status: Active
Date Category Withdrawals
01-01-2024 Grocery $50.45
3. Your program will output several text file depends on the chosen option. Exmaple
Tayama Johnson
Card number: XXXXXXXXXXXXX9875
Month: October
Average monthly
Spending: $56.90
You spent the most in: Mortgage @ $1809.90
You spent the least in: Entertainment @ $100.00
Gas *******
Utilities ******************
Mortgage **********************************
Entertainment **
Insurance ***********************

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!