Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2019 Wurzburg Germany September 16 20 2019 Proceedings Part 2 Lnai 11907

Authors: Ulf Brefeld ,Elisa Fromont ,Andreas Hotho ,Arno Knobbe ,Marloes Maathuis ,Celine Robardet

1st Edition

3030461467, 978-3030461461

More Books

Students also viewed these Databases questions

Question

2. What, according to Sergey, was strange at this meeting?

Answered: 1 week ago