Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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