Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program with C++ to track your Expense which it displays in the text file (read/write your file) use arrays and strings The program
Write a program with C++ to track your Expense which it displays in the text file (read/write your file) use arrays and strings The program has to read out line by line the text file and allow the user to change any line too also count the satisfaction rate on exit (Yes/NO/Maybe) on each line and sum (Yes) divided by the total o display a satisfaction rate on exit (yes count / total count) display a grand total on exit The file should have ID um PosNegMeh Yes/No/Maybe Description Comment Date Amount mm/dd/yyyy $9999.99 Example for the text file ID PosNegMeh Maybe Yes No Maybe Yes Yes Description Gas Party IRS Cellphone Donation Food Speeding ticket Amount Date 01/05/2017100.00 02/15/2017 150.00 03/06/2017 500.00 03/18/2017200.00 04/22/2017 300.00 05/30/2017150.00 06/12/2017 250.00 4 6
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