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 menudriven Cprogram to let the user select different options related to their credit card account. Here are the options:
aView account information namecard number, address, expiration date, active statuson console window.
bView monthly spending utilitiesmortgage insurance, groceries, travel, etc.on console window. Let the user select the month.
cGenerate monthly spending reports that display the average spending, the mostspentcategory, the leastspentcategory and the bar chart for the entire month
dView yearly spending on console window.
eGenerate yearly spending reports that display the average spending, the mostspent month, the leastspent month and the bar chart for the entire year
fSearch for all spending for a particular date.
NOTE:
Card number must be valid. Please use Luhn's Algorithm to generate a valid one.
Your program will read an input text. Example:
Tayama Johnson
Card number:
Card type: Visa
Exp:
Status: Active
Date Category Withdrawals
Grocery $
Your program will output several text file depends on the chosen option. Exmaple
Tayama Johnson
Card number: XXXXXXXXXXXXX
Month: October
Average monthly
Spending: $
You spent the most in: Mortgage @ $
You spent the least in: Entertainment @ $
Gas
Utilities
Mortgage
Entertainment
Insurance
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
