Answered step by step
Verified Expert Solution
Link Copied!

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 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago